summaryrefslogtreecommitdiff
path: root/etc/scripts/bootstrap-busybox/bootstrap.sh
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-01-10 12:09:51 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-01-10 13:18:55 +0100
commit19faf1fa1f5aff4854377824e6d4a8b9c0c09032 (patch)
tree043593c27498473e133795295cdb62bac17121f9 /etc/scripts/bootstrap-busybox/bootstrap.sh
parent816d0f68b162ec7096442a60d6f818ae45383e76 (diff)
downloadbootstrappable-toolchain-19faf1fa1f5aff4854377824e6d4a8b9c0c09032.tar.gz
Introduce and honor BOOTSTRAP_CFLAGS
... and drop rule-injected LDFLAGS for all bootstrap targets in stage-0, as those flags might not be supported by the unknown bootstrap compiler.
Diffstat (limited to 'etc/scripts/bootstrap-busybox/bootstrap.sh')
-rwxr-xr-xetc/scripts/bootstrap-busybox/bootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/scripts/bootstrap-busybox/bootstrap.sh b/etc/scripts/bootstrap-busybox/bootstrap.sh
index cb9b2fb..a49d53c 100755
--- a/etc/scripts/bootstrap-busybox/bootstrap.sh
+++ b/etc/scripts/bootstrap-busybox/bootstrap.sh
@@ -7,7 +7,7 @@ APPLET_GROUP=$2
APPLET_NAME=$3
export CC=${CC:-cc}
-export CFLAGS="-D_GNU_SOURCE -Iinclude -I${SRCDIR} -I${SRCDIR}/include"
+export CFLAGS="${CFLAGS:-} -D_GNU_SOURCE -Iinclude -I${SRCDIR} -I${SRCDIR}/include"
DEP_SRCS="
libbb/bb_pwd.c