aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Joya <alejandro.joya.cruz@intel.com>2015-10-14 17:50:54 -0500
committerRob Landley <rob@landley.net>2015-10-14 19:16:06 -0500
commit76ddf7a3c55efa456af2c488b4be4fb9997fdbd2 (patch)
tree66adf84b8babe85c44f8247a987b5bbef82808fa
parent3cdde514679f3de2e0e1b882b8ece2391a50b7ce (diff)
downloadtoybox-76ddf7a3c55efa456af2c488b4be4fb9997fdbd2.tar.gz
make.sh: missing cflags for config2help
config2help might require extra parameters to be passed to the compiler. For example it might need an additional header path.
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index a81f728f..61f3947c 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -213,7 +213,7 @@ fi
echo "generated/help.h"
if [ generated/config2help -ot scripts/config2help.c ]
then
- do_loudly $HOSTCC scripts/config2help.c -I . lib/xwrap.c lib/llist.c \
+ do_loudly $HOSTCC scripts/config2help.c $CFLAGS -I . lib/xwrap.c lib/llist.c \
lib/lib.c lib/portability.c -o generated/config2help || exit 1
fi
generated/config2help Config.in $KCONFIG_CONFIG > generated/help.h || exit 1