summaryrefslogtreecommitdiff
path: root/repo/gcc/gcc.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/gcc/gcc.xibuild')
-rw-r--r--repo/gcc/gcc.xibuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/repo/gcc/gcc.xibuild b/repo/gcc/gcc.xibuild
index 33c76d4..88b05f5 100644
--- a/repo/gcc/gcc.xibuild
+++ b/repo/gcc/gcc.xibuild
@@ -119,6 +119,9 @@ build () {
--with-linker-hash-style=gnu "
#export FON+="--with-isl "
+ export CFLAGS="$CFLAGS -fPIC"
+ export CXXFLAGS="$CXXFLAGS -fPIC"
+
# Configure source
SED=sed libat_cv_have_ifunc=no \
../configure --prefix=/usr \