mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
Don't define __strpbrk_sse42 in static library
This commit is contained in:
parent
8863605af9
commit
7d9335ecd7
@ -1,3 +1,8 @@
|
||||
2010-03-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED
|
||||
is defined.
|
||||
|
||||
2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* string/test-memcmp.c (check_result): New function.
|
||||
|
@ -1,4 +1,8 @@
|
||||
#define USE_AS_STRPBRK
|
||||
#define STRCSPN_SSE2 __strpbrk_sse2
|
||||
#define STRCSPN_SSE42 __strpbrk_sse42
|
||||
#include "strcspn-c.c"
|
||||
/* Don't define multiple versions for strpbrk in static library since we
|
||||
need strpbrk before the initialization happened. */
|
||||
#ifdef SHARED
|
||||
# define USE_AS_STRPBRK
|
||||
# define STRCSPN_SSE2 __strpbrk_sse2
|
||||
# define STRCSPN_SSE42 __strpbrk_sse42
|
||||
# include "strcspn-c.c"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user