This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Enable libsanitizer just on x86 linux for now
- From: Dodji Seketeli <dodji at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Diego Novillo <dnovillo at google dot com>, Wei Mi <wmi at google dot com>, kcc at google dot com
- Date: Tue, 13 Nov 2012 16:01:48 +0100
- Subject: [PATCH] Enable libsanitizer just on x86 linux for now
Hello,
This patch builds libsanitizer only on x86_64 and i?86 linux targets
for now. I guess The build can be enabled on other targets when they
are ready.
OK for trunk?
ChangeLog:
* configure.ac: Enable libsanitizer just on x86 linux for now.
* configure: Re-generate.
---
configure | 7 +++----
configure.ac | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/configure b/configure
index c387e92..39df09f 100755
--- a/configure
+++ b/configure
@@ -3208,12 +3208,11 @@ case "${target}" in
;;
esac
-# Disable libsanitizer for some systems.
+# Disable libsanitizer on all systems but x86 linux for now.
case "${target}" in
- cris-*-* | crisv32-*-* | mmix-*-*)
- noconfigdirs="$noconfigdirs target-libsanitizer"
+ x86_64-*-linux-* | i?86-*-linux-*)
;;
- powerpc-*-aix* | rs6000-*-aix*)
+ *)
noconfigdirs="$noconfigdirs target-libsanitizer"
;;
esac
diff --git a/configure.ac b/configure.ac
index 1d958b4..6c1b008 100644
--- a/configure.ac
+++ b/configure.ac
@@ -550,12 +550,11 @@ case "${target}" in
;;
esac
-# Disable libsanitizer for some systems.
+# Disable libsanitizer on all systems but x86 linux for now.
case "${target}" in
- cris-*-* | crisv32-*-* | mmix-*-*)
- noconfigdirs="$noconfigdirs target-libsanitizer"
+ x86_64-*-linux-* | i?86-*-linux-*)
;;
- powerpc-*-aix* | rs6000-*-aix*)
+ *)
noconfigdirs="$noconfigdirs target-libsanitizer"
;;
esac
--
Dodji