diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-07-20 17:11:35 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-07-20 17:11:35 +0000 |
commit | 53ec0bbc986bfb74327dba24e24f80fd47ab8def (patch) | |
tree | cab116f8b6240cc452ad105b7e735076778e4a9e /main/gcc/APKBUILD | |
parent | 3869e75818704ca543c974cd5178f64e58519ed7 (diff) | |
download | aports-53ec0bbc986bfb74327dba24e24f80fd47ab8def.tar.bz2 aports-53ec0bbc986bfb74327dba24e24f80fd47ab8def.tar.xz |
main/gcc: don't leak host cflags to target when cross-building
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r-- | main/gcc/APKBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 7a1476a322..e149e2db90 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -74,6 +74,9 @@ elif [ "$CBUILD" != "$CHOST" ] && [ -n "$CBUILD" -a -n "$CHOST" ]; then export CFLAGS_FOR_BUILD=" " export CXXFLAGS_FOR_BUILD=" " export LDFLAGS_FOR_BUILD=" " + export CFLAGS_FOR_TARGET=" " + export CXXFLAGS_FOR_TARGET=" " + export LDFLAGS_FOR_TARGET=" " # Languages that do not need bootstrapping LANG_OBJC=false |