]> err.no Git - systemd/commitdiff
Makefile: respect CFLAGS/LDFLAGS
authorMatthias Schwarzott <zzam@gentoo.org>
Wed, 25 Apr 2007 21:22:25 +0000 (23:22 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 25 Apr 2007 21:22:25 +0000 (23:22 +0200)
Makefile

index a7a2cbfcdc8ac7da41b54a71d434eec200837224..072ae7f5cde92a6efa0bde5800e3c4d3d254693d 100644 (file)
--- 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)