diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-24 14:55:18 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-24 14:55:18 +0000 |
commit | 65ae79fb1601aa207c6b9f7ec8f751eb313a74c3 (patch) | |
tree | 994a73117c8e31193f5bbecbc0884b86174358d9 | |
parent | b6d51d28921a42fc174f7daac2f94171bc18a1c2 (diff) |
Move _GNU_SOURCE from file to CFLAGS, make use of NATIVE_LDFLAGS
-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> |