File tree Expand file tree Collapse file tree 13 files changed +17
-4
lines changed
Expand file tree Collapse file tree 13 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ busybox_config := config/busybox.config
1313busybox_output := busybox
1414busybox_target := \
1515 $(CROSS_TOOLS) \
16+ CFLAGS="-Os" \
1617 $(MAKE_JOBS) \
1718
1819# Install symlinks when the busybox program is installed
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ cairo_hash := 8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16
88
99cairo_configure := \
1010 $(CROSS_TOOLS) \
11- CFLAGS="-DCAIRO_NO_MUTEX=1 -O3 " \
11+ CFLAGS="-DCAIRO_NO_MUTEX=1 -Os " \
1212 ./configure \
1313 --host i386-elf-linux \
1414 --prefix="/" \
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ cryptsetup_hash := af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6ad
1010
1111# Use an empty prefix so that the executables will not include the
1212# build path.
13- cryptsetup_configure := ./configure \
13+ cryptsetup_configure := \
1414 $(CROSS_TOOLS) \
15+ CFLAGS="-Os" \
16+ ./configure \
1517 --host i386-elf-linux \
1618 --prefix "/" \
1719 --disable-gcrypt-pbkdf2 \
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ flashrom_url := https://github.com/flashrom/flashrom/archive/$(flashrom_version)
99flashrom_hash := 4873ad50f500629c244fc3fbee64b56403a82307d7f555dfa235336a200c336c
1010
1111flashrom_target := \
12+ CFLAGS="-Os" \
1213 $(MAKE_JOBS) \
1314 $(CROSS_TOOLS) \
1415 WARNERROR=no \
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ gpg_hash := 6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276
1919#
2020gpg_configure := ./configure \
2121 $(CROSS_TOOLS) \
22+ CFLAGS="-Os" \
2223 --build i386-elf-linux \
2324 --host x86_64-linux-musl \
2425 --with-libusb="$(INSTALL)" \
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ libgcrypt_hash := 0cba2700617b99fc33864a0c16b1fa7fdf9781d9ed3509f5d767178e5fd7b9
77
88libgcrypt_configure := ./configure \
99 $(CROSS_TOOLS) \
10+ CFLAGS="-Os" \
1011 --host=x86_64-linux-musl \
1112 --prefix "/" \
1213 --disable-static \
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ libgpg-error_tar := libgpg-error-$(libgpg-error_version).tar.bz2
55libgpg-error_url := https://gnupg.org/ftp/gcrypt/libgpg-error/$(libgpg-error_tar)
66libgpg-error_hash := b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
77
8- libgpg-error_configure := ./configure \
8+ libgpg-error_configure := \
99 $(CROSS_TOOLS) \
10+ CFLAGS="-Os" \
11+ ./configure \
1012 --prefix "/" \
1113 --host=x86_64-linux-musl \
1214 --disable-static \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ libpng_hash := 574623a4901a9969080ab4a2df9437026c8a87150dfd5c235e28c94b212964a7
88
99libpng_configure := \
1010 $(CROSS_TOOLS) \
11+ CFLAGS="-Os" \
1112 ./configure \
1213 --host i386-elf-linux \
1314 --prefix="/" \
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ lvm2_hash := 23a3d1cddd41b3ef51812ebf83e9fa491f502fe74130d4263be327a91914660d
1010# so we force it via the configure cache.
1111lvm2_configure := \
1212 $(CROSS_TOOLS) \
13+ CFLAGS="-Os" \
1314 PKG_CONFIG=/bin/false \
1415 MODPROBE_CMD=/bin/false \
1516 ac_cv_func_malloc_0_nonnull=yes \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pixman_hash := 21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e
88
99pixman_configure := \
1010 $(CROSS_TOOLS) \
11+ CFLAGS="-Os" \
1112 ./configure \
1213 --host i386-elf-linux \
1314 --prefix="/" \
You can’t perform that action at this time.
0 commit comments