From 702e02313cffa3b7f91f6e0aa163bc6a7df0c2bd Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Wed, 25 Apr 2007 23:22:25 +0200 Subject: [PATCH] Makefile: respect CFLAGS/LDFLAGS --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7a2cbfcd..072ae7f5c 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) -- 2.30.2