X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fconfigure;h=96feaedbeba25c25b12c8fddb74e5f0af9ff6a44;hb=173373c6f6388171d1d62a217fae90a052395be2;hp=b71141a98b05bd388dfd08301391dda06b9da38e;hpb=26505cc0c4e4257c36df3e80507e531c8b1380e5;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/configure b/libiberty/configure index b71141a98b..96feaedbeb 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -594,6 +594,7 @@ pexecute target_header_dir CHECK LIBOBJS +NOASANFLAG PICFLAG INSTALL_DATA INSTALL_SCRIPT @@ -4927,9 +4928,6 @@ case "${host}" in i[34567]86-*-* | x86_64-*-*) PICFLAG=-fpic ;; - m68k-*-*) - PICFLAG=-fpic - ;; # FIXME: Override -fPIC default in libgcc only? sh-*-linux* | sh[2346lbe]*-*-linux*) PICFLAG=-fpic @@ -4974,6 +4972,12 @@ if [ "${shared}" != "yes" ]; then fi +NOASANFLAG= +case " ${CFLAGS} " in + *\ -fsanitize=address\ *) NOASANFLAG=-fno-sanitize=address ;; +esac + + echo "# Warning: this fragment is automatically generated" > temp-frag if [ -n "${frag}" ] && [ -f "${frag}" ]; then @@ -5513,7 +5517,6 @@ fi setobjs= CHECK= -target_header_dir= if test -n "${with_target_subdir}"; then # We are being configured as a target library. AC_REPLACE_FUNCS