X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=blobdiff_plain;f=GNUmakefile;h=947020236706742699a4f4a4f58a8313c225784e;hp=9e524fc23966b9efd7b6ff1ade24c554e7e81249;hb=b3e966b7f3b921a686a7665f4b265b19c79c46f3;hpb=dc56c2fe04e8f658a2481fba007c4422dd1cdc35 diff --git a/GNUmakefile b/GNUmakefile index 9e524fc..9470202 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -5,9 +5,7 @@ SRCS= parse.y doas.c env.c include config.mk -CFLAGS+= -I. -Ilibopenbsd ${COPTS} -COPTS+= -Wall -Wextra -pedantic -O2 -D_FORTIFY_SOURCE=2 -YFLAGS= +override CFLAGS:=-I. -Ilibopenbsd -O2 -Wall -Wextra ${OS_CFLAGS} ${CFLAGS} all: ${PROG}