From c8919ac3b56a8906c07d681f6a69c69765986854 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 1 Dec 2008 07:03:11 +0000 Subject: Allow distromakers override CFLAGS and LDFLAGS --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 06ab4c8..2e7e392 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,10 @@ CC=gcc INSTALL=install INSTALLDIR=$(INSTALL) -d -CFLAGS=-g -D_GNU_SOURCE -Werror -Wall -Wstrict-prototypes -std=gnu99 \ - -DAPK_VERSION=\"$(FULL_VERSION)\" -LDFLAGS=-g +CFLAGS?=-g -Werror -Wall -Wstrict-prototypes +CFLAGS+=-D_GNU_SOURCE -std=gnu99 -DAPK_VERSION=\"$(FULL_VERSION)\" + +LDFLAGS?=-g LIBS=/usr/lib/libz.a ifeq ($(STATIC),yes) -- cgit v1.2.3