summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-04-25 23:22:25 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-04-25 23:22:25 +0200
commit702e02313cffa3b7f91f6e0aa163bc6a7df0c2bd (patch)
treefd89fec4a88aa768721f003742c91321af26e486 /Makefile
parenta0ee4ac513469c9974c878348a52bd42c82574a6 (diff)
Makefile: respect CFLAGS/LDFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a7a2cbfcdc..072ae7f5cd 100644
--- a/Makefile
+++ b/Makefile
@@ -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)