diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile.in | 4 | ||||
-rw-r--r-- | utils/ldd.c | 3 |
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> |