summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-23 23:42:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-23 23:42:02 +0000
commit474ffd5d0ba38913a974f08868c08d36b9f17951 (patch)
tree20391888cbea402ea9247c339c4afea9c9443403
parentcc479c5abf86e0014cf6bc3492bbf53a47f503fc (diff)
downloaduClibc-alpine-474ffd5d0ba38913a974f08868c08d36b9f17951.tar.bz2
uClibc-alpine-474ffd5d0ba38913a974f08868c08d36b9f17951.tar.xz
Remove unneeded _GNU_SOURCE
-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)