From 2c0c0e5d293da4820fe1cae707a731b9341fd118 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 13 Feb 2022 06:25:11 +0000 Subject: [PATCH] build: only set default CFLAGS if there are none already set --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4ddfcf..42e8dac 100644 --- a/Makefile +++ b/Makefile @@ -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