Commit c8919ac3 authored by Natanael Copa's avatar Natanael Copa

Allow distromakers override CFLAGS and LDFLAGS

parent dc2ffc30
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment