summaryrefslogtreecommitdiff
path: root/utils/Makefile.in
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-24 14:55:18 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-24 14:55:18 +0000
commit65ae79fb1601aa207c6b9f7ec8f751eb313a74c3 (patch)
tree994a73117c8e31193f5bbecbc0884b86174358d9 /utils/Makefile.in
parentb6d51d28921a42fc174f7daac2f94171bc18a1c2 (diff)
Move _GNU_SOURCE from file to CFLAGS, make use of NATIVE_LDFLAGS
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