Fix CFLAGS

This commit is contained in:
Alex D. 2021-11-28 18:47:39 +00:00
parent f276753dc9
commit 1a3764a5d0
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# Defaults # Defaults
CXX = clang CC = clang
DEBUG = 1 DEBUG = 1
STATIC = 0 STATIC = 0
LDFLAGS = LDFLAGS =
CXXFLAGS =\ CFLAGS =\
-std=c99\ -std=c99\
-Weverything\ -Weverything\
-Wno-padded\ -Wno-padded\
@ -29,13 +29,13 @@ LDFLAGS +=\
$(addprefix -L,${LIBDIR})\ $(addprefix -L,${LIBDIR})\
$(addprefix -l,${LIB}) $(addprefix -l,${LIB})
CXXFLAGS +=\ CFLAGS +=\
$(addprefix -I,${INCDIR}) $(addprefix -I,${INCDIR})
ifeq (${DEBUG},1) ifeq (${DEBUG},1)
CXXFLAGS += -g CFLAGS += -g
else else
CXXFLAGS += -O2 -Werror CFLAGS += -O2 -Werror
endif endif
ifeq (${STATIC},1) ifeq (${STATIC},1)