From df31d32b411022d130b078de177cfa40b7bf6cde Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 22 Jan 2006 19:35:08 +0000 Subject: Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt --- utils/Makefile.in | 4 ++-- utils/ldd.c | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'utils') 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 #include #include -- cgit v1.2.3