summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S
index 3cbcaada62..49b7adfbfa 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S
@@ -17,9 +17,11 @@
 
 #include <sysdep.h>
 
+#if IS_IN (libc)
 #define STRNCMP __strncmp_power8
 
 #undef libc_hidden_builtin_def
 #define libc_hidden_builtin_def(name)
 
 #include <sysdeps/powerpc/powerpc64/power8/strncmp.S>
+#endif