diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-04-25 23:22:25 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-04-25 23:22:25 +0200 |
commit | 702e02313cffa3b7f91f6e0aa163bc6a7df0c2bd (patch) | |
tree | fd89fec4a88aa768721f003742c91321af26e486 | |
parent | a0ee4ac513469c9974c878348a52bd42c82574a6 (diff) |
Makefile: respect CFLAGS/LDFLAGS
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -113,13 +113,13 @@ LD = $(CROSS_COMPILE)gcc AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib -CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 +CFLAGS += -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \ -Wchar-subscripts -Wmissing-declarations -Wnested-externs \ -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes CFLAGS += $(WARNINGS) -LDFLAGS = -Wl,-warn-common +LDFLAGS += -Wl,-warn-common OPTFLAGS = -Os CFLAGS += $(OPTFLAGS) |