Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/* : remove unused configure options and review modules that were still compiled with -O2 as opposed to -Os #1477

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/busybox
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ busybox_configure := $(MAKE) CC="$(heads_cc)" oldconfig
busybox_config := config/busybox.config
busybox_output := busybox
busybox_target := \
CFLAGS="-Os" \
$(CROSS_TOOLS) \
$(MAKE_JOBS) \

Expand Down
3 changes: 0 additions & 3 deletions modules/gpg2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ gpg2_configure := \
./configure \
CPPFLAGS="-I$(INSTALL)/include/libusb-1.0" \
--host $(MUSL_ARCH)-linux-musl \
--with-libusb="$(INSTALL)" \
--with-gpg-error-prefix="$(INSTALL)" \
--with-libgcrypt-prefix="$(INSTALL)" \
--with-libassuan-prefix="$(INSTALL)" \
Expand All @@ -29,13 +28,11 @@ gpg2_configure := \
--enable-ccid-driver \
--disable-tofu \
--disable-rpath \
--disable-regex \
--disable-doc \
--disable-bzip2 \
--disable-exec \
--disable-photo-viewers \
--disable-ldap \
--disable-regex \
--disable-nls \
--disable-all-tests \
--disable-wks-tools \
Expand Down
2 changes: 1 addition & 1 deletion modules/kexec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kexec_url := https://kernel.org/pub/linux/utils/kernel/kexec/$(kexec_tar)
kexec_hash := 89bdd941542c64fec16311858df304ed3a3908c1a60874d69df5d9bf1611e062

kexec_configure := \
CFLAGS="-g -Os -fno-strict-aliasing -Wall -Wstrict-prototypes" \
CFLAGS="-Os -fno-strict-aliasing -Wall -Wstrict-prototypes" \
./configure \
$(CROSS_TOOLS) \
--host $(MUSL_ARCH)-elf-linux \
Expand Down
2 changes: 1 addition & 1 deletion modules/linux
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $(build)/$(linux_dir)/.configured: $(linux_kconfig)
linux_configure := \
mkdir -p "$(build)/$(linux_dir)" \
&& $(call install_config,$(pwd)/$(linux_kconfig),$(build)/$(linux_dir)/.config) \
&& $(MAKE) -C .. \
&& $CFLAGS="-Os" $(MAKE) -C .. \
ARCH="$(LINUX_ARCH)" \
CROSS_COMPILE="$(CROSS)" \
O="$(build)/$(linux_dir)" \
Expand Down
1 change: 1 addition & 0 deletions modules/npth
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ npth_hash := 1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1

npth_configure := ./configure \
$(CROSS_TOOLS) \
CFLAGS="-Os" \
--host $(MUSL_ARCH)-linux-musl \
--prefix "/" \
--disable-static \
Expand Down
4 changes: 3 additions & 1 deletion modules/slang
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ slang_tar := slang-$(slang_version).tar.bz2
slang_url := https://www.jedsoft.org/releases/slang/$(slang_tar)
slang_hash := 54f0c3007fde918039c058965dffdfd6c5aec0bad0f4227192cc486021f08c36

slang_configure := ./configure \
slang_configure := \
$(CROSS_TOOLS) \
CFLAGS="-Os" \
./configure \
ac_cv_path_nc5config=no \
--prefix "/" \
--host $(MUSL_ARCH)-elf-linux \
Expand Down