summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rpc/xdr.h3
-rw-r--r--libpthread/linuxthreads.old/Makefile.in3
2 files changed, 1 insertions, 5 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index d2d097c86..25dd214ee 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -42,9 +42,6 @@
# ifndef __FORCE_GLIBC
# define __FORCE_GLIBC
# endif
-# ifndef _GNU_SOUCE
-# define _GNU_SOUCE
-# endif
# define _(X) X
#endif
#include <features.h>
diff --git a/libpthread/linuxthreads.old/Makefile.in b/libpthread/linuxthreads.old/Makefile.in
index 803cb0824..1656f219c 100644
--- a/libpthread/linuxthreads.old/Makefile.in
+++ b/libpthread/linuxthreads.old/Makefile.in
@@ -6,8 +6,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-linuxthreads.old := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
-CFLAGS-linuxthreads.old += -DIS_IN_linuxthreads=1 -D_GNU_SOURCE
+CFLAGS-linuxthreads.old := -DNOT_IN_libc -DIS_IN_linuxthreads $(SSP_ALL_CFLAGS)
CFLAGS-libpthread/linuxthreads.old/sysdeps/$(TARGET_ARCH)/ := $(CFLAGS-linuxthreads.old)