build: only set default CFLAGS if there are none already set

master
Ariadne Conill 2022-02-13 06:25:11 +00:00
parent c8fe721e69
commit 2c0c0e5d29
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ endif
LIBDIR := /lib
INCLUDEDIR := /usr/include
PKGCONFIGDIR := /usr/lib/pkgconfig
CFLAGS := -ggdb3 -O2 -Wall
CFLAGS ?= -ggdb3 -O2 -Wall
CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common
ifneq ($(shell uname),Darwin)
EXPORT_UNPREFIXED := yes