summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-08-02 17:08:27 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-02 17:10:49 -0700
commitd57e6548d253a9efed91d72498aeda092fa265d2 (patch)
treee15952c8ea183c96ec681cfd721b5cc4593cc6e7 /libpthread/nptl/sysdeps/unix/sysv
parent5d43774c2de33c9cc29873a7737224505a55b29e (diff)
downloaduClibc-alpine-d57e6548d253a9efed91d72498aeda092fa265d2.tar.bz2
uClibc-alpine-d57e6548d253a9efed91d72498aeda092fa265d2.tar.xz
undef INTERNAL_SYSCALL_NCS before redefining to quash build warnings.
Pass LDFLAGS using -Wl now gcc is used as LD. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h
index 11f81b0b1..d62c385e4 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h
@@ -305,11 +305,13 @@ __local_syscall_error: \
#define ASM_ARGS_7 ASM_ARGS_6, "r" (_v3)
#if defined(__ARM_EABI__)
+#undef INTERNAL_SYSCALL_NCS
#define INTERNAL_SYSCALL_NCS(number, err, nr, args...) \
INTERNAL_SYSCALL_RAW(number, err, nr, args)
#else
/* We can't implement non-constant syscalls directly since the syscall
number is normally encoded in the instruction. So use SYS_syscall. */
+#undef INTERNAL_SYSCALL_NCS
#define INTERNAL_SYSCALL_NCS(number, err, nr, args...) \
INTERNAL_SYSCALL_NCS_##nr (number, err, args)