From: Simon Ruderich Date: Tue, 29 Nov 2016 14:37:49 +0000 (+0100) Subject: Makefile: appending existing flags instead of overwriting them X-Git-Tag: 0.1~17 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=768d3027a07cec8fab71bc8a083fed566b2fda8e;p=ptyas%2Fptyas.git Makefile: appending existing flags instead of overwriting them --- diff --git a/Makefile b/Makefile index ea1b2e6..48d848a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -CFLAGS := -g -O2 -fPIE -fstack-protector-strong -Wall -Wextra -Wconversion -CPPFLAGS := -D_FORTIFY_SOURCE=2 -LDFLAGS := -fPIE -pie -Wl,-z,relro -Wl,-z,now +CFLAGS := -g -O2 -fPIE -fstack-protector-strong -Wall -Wextra -Wconversion $(CFLAGS) +CPPFLAGS := -D_FORTIFY_SOURCE=2 $(CPPFLAGS) +LDFLAGS := -fPIE -pie -Wl,-z,relro -Wl,-z,now $(LDFLAGS) ptyas: ptyas.c