diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-25 15:19:32 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-25 15:19:32 +0200 |
commit | 76bd9d319e0d4376d14032cd65503da3a6c2529e (patch) | |
tree | ef3f18daa6f88400a03ea0f0282858c2e0289221 | |
parent | 6d86cda476fd519105e642afae01fff5fc1a3e29 (diff) |
Makefile: add --as-needed flag to ld
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |