From 1c54c382a39b1713e8fd604ee67713e7acf6d4a9 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Thu, 28 Apr 2016 20:12:27 +0300 Subject: [PATCH] Fix for reported issue #26 - BusyBox is built with additional CFLAGS for better compatibility. --- src/07_build_busybox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/07_build_busybox.sh b/src/07_build_busybox.sh index 93cba11b6..2c4c9ceab 100755 --- a/src/07_build_busybox.sh +++ b/src/07_build_busybox.sh @@ -50,7 +50,7 @@ sed -i "s/.*CONFIG_SYSROOT.*/CONFIG_SYSROOT=$GLIBC_INSTALLED_ESCAPED/" .config # Compile busybox with optimization for "parallel jobs" = "number of processors". echo "Building BusyBox..." -make busybox -j $(grep ^processor /proc/cpuinfo | wc -l) +make EXTRA_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" busybox -j $(grep ^processor /proc/cpuinfo | wc -l) # Create the symlinks for busybox. The file 'busybox.links' is used for this. echo "Generating BusyBox based initramfs area..."