From: Matthias Schwarzott Date: Wed, 25 Apr 2007 21:22:25 +0000 (+0200) Subject: Makefile: respect CFLAGS/LDFLAGS X-Git-Tag: 174~1987 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702e02313cffa3b7f91f6e0aa163bc6a7df0c2bd;p=systemd Makefile: respect CFLAGS/LDFLAGS --- diff --git a/Makefile b/Makefile index a7a2cbfc..072ae7f5 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)