Automatic date update in version.in
[platform/upstream/binutils.git] / libiberty / configure
index 8ea54da..96feaed 100755 (executable)
@@ -594,6 +594,7 @@ pexecute
 target_header_dir
 CHECK
 LIBOBJS
+NOASANFLAG
 PICFLAG
 INSTALL_DATA
 INSTALL_SCRIPT
@@ -4971,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
@@ -5510,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