From 31ed415328c1db05c4302c51120a906873c610ab Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 27 Sep 2012 07:43:03 -0700 Subject: Don't define x86-64 __strncmp_ssse3 in libc.a --- sysdeps/x86_64/multiarch/strncmp-ssse3.S | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/multiarch/strncmp-ssse3.S b/sysdeps/x86_64/multiarch/strncmp-ssse3.S index a320a3e949..96380a46be 100644 --- a/sysdeps/x86_64/multiarch/strncmp-ssse3.S +++ b/sysdeps/x86_64/multiarch/strncmp-ssse3.S @@ -1,4 +1,6 @@ -#define USE_SSSE3 1 -#define STRCMP __strncmp_ssse3 -#define USE_AS_STRNCMP -#include "../strcmp.S" +#ifdef SHARED +# define USE_SSSE3 1 +# define STRCMP __strncmp_ssse3 +# define USE_AS_STRNCMP +# include "../strcmp.S" +#endif -- cgit 1.4.1