summaryrefslogtreecommitdiff
path: root/repo/gcc/gcc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
committerdavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
commit05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (patch)
tree0b058ac267139f2a0525dec42b307664363e5b11 /repo/gcc/gcc.xibuild
parent4c61af227b0fb3e028c877dc1c2e0b6513960762 (diff)
Making things work
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 \