summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index de53f9420..419f25bbb 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -41,10 +41,10 @@ CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS)
ifeq ($(DODEBUG),true)
CFLAGS += -Wall -g
- LDFLAGS = -nostdlib
+ LDFLAGS = -nostdlib -Wl,-warn-common
else
CFLAGS += -Wall #-fomit-frame-pointer
- LDFLAGS = -s -nostdlib
+ LDFLAGS = -s -nostdlib -Wl,-warn-common
endif
ifndef $(PREFIX)