diff options
Diffstat (limited to 'core/gcc')
-rw-r--r-- | core/gcc/PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index b733a5087..699839d85 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -68,6 +68,11 @@ build() { cd ${srcdir} mkdir gcc-build && cd gcc-build + export BOOT_CFLAGS="$CFLAGS" + export CFLAGS_FOR_TARGET="$CFLAGS" + export CXXFLAGS_FOR_TARGET="$CXXFLAGS" + export BOOT_LDFLAGS="$LDFLAGS" + export LDFLAGS_FOR_TARGET="$LDFLAGS" if [[ "${CARCH}" != "mips64el" ]]; then languages=c,c++,ada,fortran,go,lto,objc,obj-c++ |