diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile.in | 4 | ||||
-rw-r--r-- | utils/ldd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/Makefile.in b/utils/Makefile.in index d5b4da568..c955d0cfe 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) +CFLAGS-ldd := $(CFLAGS-utils-common) $(CFLAGS-utils-shared) -D_GNU_SOURCE CFLAGS-iconv := $(CFLAGS-utils-shared) -DL_iconv_main @@ -36,6 +36,8 @@ HOSTCFLAGS-ldconfig.host := $(HOSTCFLAGS-utils-common) HOSTCFLAGS-ldd.host := $(HOSTCFLAGS-utils-common) -D_GNU_SOURCE +NATIVE_LDFLAGS-utils := -Wl,-s + utils_DIR := $(top_srcdir)utils utils_OUT := $(top_builddir)utils diff --git a/utils/ldd.c b/utils/ldd.c index a857127a8..319f0bfdc 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -26,8 +26,6 @@ * */ - -#define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <fcntl.h> |