]> 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 16:48:48 +0000 (11:48 -0500)
This patch makes the strspn ifunc selector build for static builds.

This is a backport of 27c7220a483bda576533aa9a0a9b42175644b1a1

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

index f971a03184be4b82f17b6416b497961557b00141..93a4ddfa4e1ac3f60a47e6d37ecbc8e119f58e19 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  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        [BZ #16683]
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"