summaryrefslogtreecommitdiff
path: root/utils/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile.in')
-rw-r--r--utils/Makefile.in4
1 files changed, 3 insertions, 1 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