aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2012-11-28 11:43:47 +0000
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2012-11-28 11:43:47 +0000
commitc23b5043ce222d89275b7fa1608f9bf7e0faa065 (patch)
treee3760bb5604fd777d8c8da095f4408627dba9a01 /configure.ac
parent*** empty log message *** (diff)
downloadbinutils-gdb-c23b5043ce222d89275b7fa1608f9bf7e0faa065.tar.gz
binutils-gdb-c23b5043ce222d89275b7fa1608f9bf7e0faa065.tar.bz2
binutils-gdb-c23b5043ce222d89275b7fa1608f9bf7e0faa065.zip
Disable libsanitizer for non-C++ builds.
* configure.ac (noconfigdirs): Merge from GCC. * configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 24ea7e526a3..cd6721e4594 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2008,11 +2008,11 @@ case ,${enable_languages},:${enable_objc_gc} in
;;
esac
-# Disable libitm if we're not building C++
+# Disable libitm and libsanitizer if we're not building C++
case ,${enable_languages}, in
*,c++,*) ;;
*)
- noconfigdirs="$noconfigdirs target-libitm"
+ noconfigdirs="$noconfigdirs target-libitm target-libsanitizer"
;;
esac