summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:35:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:35:08 +0000
commitdf31d32b411022d130b078de177cfa40b7bf6cde (patch)
tree0604126022fcad298f377155a756b42e28882177 /utils
parentd98307c5af70386c4480deff87c7c9921d801c7c (diff)
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.in4
-rw-r--r--utils/ldd.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/utils/Makefile.in b/utils/Makefile.in
index 0571b5765..d4422c969 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -18,7 +18,7 @@ else
CFLAGS-ldconfig += $(CFLAGS-utils-shared)
endif
-CFLAGS-ldd := $(CFLAGS-utils-common) $(CFLAGS-utils-shared) -D_GNU_SOURCE
+CFLAGS-ldd := $(CFLAGS-utils-common) $(CFLAGS-utils-shared)
# needs CFLAGS-utils explicitely, because the source file is not located in utils
CFLAGS-iconv := $(CFLAGS-utils) $(CFLAGS-utils-shared) -DL_iconv_main
@@ -35,7 +35,7 @@ endif
BUILD_CFLAGS-ldconfig.host := $(BUILD_CFLAGS-utils-common)
-BUILD_CFLAGS-ldd.host := $(BUILD_CFLAGS-utils-common) -D_GNU_SOURCE
+BUILD_CFLAGS-ldd.host := $(BUILD_CFLAGS-utils-common)
BUILD_LDFLAGS-utils := -Wl,-s
diff --git a/utils/ldd.c b/utils/ldd.c
index 4545cf328..314798354 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -26,9 +26,6 @@
*
*/
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-#endif
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>