]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libssp/configure
Always use PIC option with -shared in libtool
[thirdparty/gcc.git] / libssp / configure
index 3e688a95254d054d13ebd8ba9fe809a481cbd1ec..332aa2caa2b1dfd0fb6e07f744ef1f277e91bd6b 100755 (executable)
@@ -8427,7 +8427,7 @@ _LT_EOF
       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
         && test "$tmp_diet" = no
       then
-       tmp_addflag=
+       tmp_addflag=' $pic_flag'
        tmp_sharedflag='-shared'
        case $cc_basename,$host_cpu in
         pgcc*)                         # Portland Group C compiler