diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-12-01 07:03:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-12-01 07:03:11 +0000 |
commit | c8919ac3b56a8906c07d681f6a69c69765986854 (patch) | |
tree | 4e150be45ce8e489a2e054d681011f2423c85277 /Makefile | |
parent | dc2ffc30e812fc52ad2bf4c11f36a69940f8d1ea (diff) | |
download | apk-tools-c8919ac3b56a8906c07d681f6a69c69765986854.tar.gz apk-tools-c8919ac3b56a8906c07d681f6a69c69765986854.tar.bz2 apk-tools-c8919ac3b56a8906c07d681f6a69c69765986854.tar.xz apk-tools-c8919ac3b56a8906c07d681f6a69c69765986854.zip |
Allow distromakers override CFLAGS and LDFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |