Disable libsanitizer for non-C++ builds.
* configure.ac (noconfigdirs): Merge from GCC. * configure: Regenerate.
This commit is contained in:
parent
2bb4ab0567
commit
c23b5043ce
3 changed files with 9 additions and 4 deletions
|
@ -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
4
configure
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue