Disable libsanitizer for non-C++ builds.

* configure.ac (noconfigdirs): Merge from GCC.
	* configure: Regenerate.
This commit is contained in:
Jan-Benedict Glaw 2012-11-28 11:43:47 +00:00
parent 2bb4ab0567
commit c23b5043ce
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2012-11-28 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* configure.ac (noconfigdirs): Merge from GCC.
* configure: Regenerate.
2012-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config.sub (arm): Merge from upstream: Handle armv[6-8] targets.

4
configure vendored
View file

@ -6437,11 +6437,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

View file

@ -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