OSDN Git Service

Remove unneeded _GNU_SOURCE
authorPeter S. Mazinger <ps.m@gmx.net>
Mon, 23 Jan 2006 23:42:02 +0000 (23:42 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Mon, 23 Jan 2006 23:42:02 +0000 (23:42 -0000)
include/rpc/xdr.h
libpthread/linuxthreads.old/Makefile.in

index d2d097c..25dd214 100644 (file)
@@ -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>
index 803cb08..1656f21 100644 (file)
@@ -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)