remove fPIC for target amiga

This commit is contained in:
bebbo 2022-04-29 17:06:33 +02:00
parent 3290a76703
commit e02ddfa8b8
6 changed files with 53 additions and 8 deletions

8
configure vendored
View File

@ -6650,7 +6650,13 @@ case " $configdirs " in
*" lto-plugin "* | *" libcc1 "*)
# When these are to be built as shared libraries, the same applies to
# libiberty.
extra_host_libiberty_configure_flags=--enable-shared
case $host in
*-amigaos*)
;;
*)
extra_host_libiberty_configure_flags=--enable-shared
;;
esac
;;
*" bfd "*)
# When bfd is to be built as a shared library, the same applies to

12
gcc/configure vendored
View File

@ -29433,9 +29433,15 @@ else
PICFLAG=
fi
case $host_os in
amigaos*)
case $host_cpu in
m68k)
PICFLAG=
;;
esac
;;
esac
# Check whether --enable-libquadmath-support was given.
if test "${enable_libquadmath_support+set}" = set; then :

View File

@ -11717,6 +11717,15 @@ else
PIC_FLAG=
fi
case $host_os in
amigaos*)
case $host_cpu in
m68k)
PIC_FLAG=
;;
esac
;;
esac
# Test for __sync support.

10
libcpp/configure vendored
View File

@ -7353,7 +7353,15 @@ else
PICFLAG=
fi
case $host_os in
amigaos*)
case $host_cpu in
m68k)
PICFLAG=
;;
esac
;;
esac
# Output.

View File

@ -4900,7 +4900,15 @@ else
PICFLAG=
fi
case $host_os in
amigaos*)
case $host_cpu in
m68k)
PICFLAG=
;;
esac
;;
esac
# Output.

12
zlib/configure vendored
View File

@ -7445,7 +7445,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
# FIXME: we need at least 68020 code to build shared libraries, but
# adding the `-m68020' flag to GCC prevents building anything better,
# like `-m68040'.
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
lt_prog_compiler_pic='--invalid'
;;
esac
;;
@ -11215,7 +11215,15 @@ else
PICFLAG=
fi
case $host_os in
amigaos*)
case $host_cpu in
m68k)
PICFLAG=
;;
esac
;;
esac
ac_config_files="$ac_config_files Makefile"