David Miller <da...@davemloft.net> wrote

> From: Dodji Seketeli <do...@redhat.com>
> Date: Wed, 14 Nov 2012 14:26:40 +0100
> 
> > I guess we could do that.  That would build libsanitizer, but asan will
> > still not be available on sparc if the asan_shadow_offset() target hook
> > is not provided.  Is that OK to you?
> 
> Yes.

So, here is the (IMO obvious) patch to enable libsanitizer's build on
sparc linux, even if asan is not supported on that platform yet.

OK for trunk?

libsanitizer/ChangeLog:

        * configure.tgt: Enable sparc linux.
---
 libsanitizer/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index ca7ac1f..988312e 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -20,7 +20,7 @@
 
 # Filter out unsupported systems.
 case "${target}" in
-  x86_64-*-linux* | i?86-*-linux*)
+  x86_64-*-linux* | i?86-*-linux* | sparc*-*-linux*)
        ;;
   *)
        UNSUPPORTED=1
-- 
                Dodji

Reply via email to