mirror of
https://github.com/yshui/picom.git
synced 2025-02-17 15:56:21 -05:00
Fix cflags for release build
This commit is contained in:
parent
cac8094ce1
commit
c695d06263
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -113,7 +113,7 @@ LDFLAGS ?= -Wl,-O1 -Wl,--as-needed
|
|||
BUILD_TYPE ?= "Debug"
|
||||
|
||||
ifeq "$(BUILD_TYPE)" "Release"
|
||||
CFLAGS ?= -DNDEBUG -O2 -D_FORTIFY_SOURCE=2
|
||||
CFLAGS += -DNDEBUG -O2 -D_FORTIFY_SOURCE=2
|
||||
else ifeq "$(BUILD_TYPE)" "Debug"
|
||||
CFLAGS += -ggdb -Wshadow
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue