diff options
author | Eric Andersen | 2000-12-11 16:20:40 +0000 |
---|---|---|
committer | Eric Andersen | 2000-12-11 16:20:40 +0000 |
commit | 9962cd9f7879e8b51ab6eca5abd7c5e51cec8685 (patch) | |
tree | cf68a0d2b95ce1c222b03ef8c8863a0c10da5ca1 /Makefile | |
parent | c8eedd56ac9fc651bf60e42da5609d1c9182a2ae (diff) | |
download | busybox-9962cd9f7879e8b51ab6eca5abd7c5e51cec8685.zip busybox-9962cd9f7879e8b51ab6eca5abd7c5e51cec8685.tar.gz |
Add a linker warning for symbol conflicts.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -93,14 +93,13 @@ ifeq ($(DODMALLOC),true) # Force debug=true, since this is useless when not debugging... DODEBUG = true endif -# -D_GNU_SOURCE is needed because environ is used in init.c ifeq ($(DODEBUG),true) - CFLAGS += $(WARNINGS) -g -D_GNU_SOURCE - LDFLAGS += - STRIP = + CFLAGS += $(WARNINGS) -g -D_GNU_SOURCE + LDFLAGS += -Wl,-warn-common + STRIP = else CFLAGS += $(WARNINGS) $(OPTIMIZATION) -fomit-frame-pointer -D_GNU_SOURCE - LDFLAGS += -s + LDFLAGS += -s -Wl,-warn-common STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG) endif ifeq ($(DOSTATIC),true) |