]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
PowerPC: Fix strspn for static build
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 11 Mar 2014 21:17:50 +0000 (16:17 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 12 Mar 2014 11:54:44 +0000 (06:54 -0500)
This patch makes the strspn ifunc selector build for static builds.

ChangeLog
sysdeps/powerpc/powerpc64/multiarch/strspn.c

index cae7f85a688d35004346c83b1c97c17eddec1aa0..21bd6210fb5a3579ff126e777acd8809b118879a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
+       selector for static builds.
+
 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/mips/math_private.h [__mips_hard_float]
index 44945f328efb140ac2d0014fa2ae734059aaa00d..bf8c877ec2382abc1dbd26965b87bb0c11a6455b 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if defined SHARED && !defined NOT_IN_libc
+#ifndef NOT_IN_libc
 # include <string.h>
 # include <shlib-compat.h>
 # include "init-arch.h"