summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index acf3ae42a3..8179710be1 100644
--- a/Makefile
+++ b/Makefile
@@ -118,7 +118,7 @@ WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
-Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
CFLAGS += $(WARNINGS)
-LDFLAGS += -Wl,-warn-common
+LDFLAGS += -Wl,-warn-common,--as-needed
OPTFLAGS = -Os
CFLAGS += $(OPTFLAGS)