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 cae7f85..21bd621 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 44945f3..bf8c877 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"