mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-07 04:35:37 +00:00
Use -flto=auto
This commit is contained in:
1 parent
3c049983f1
commit
1653a9a3f2
1 file changed
+2
-2
@@ -35,8 +35,8 @@ VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null`
|
||||
WARNFLAGS := -Wall -pedantic
|
||||
|
||||
# Overridable CFLAGS
|
||||
CFLAGS ?= -O3 -flto -DNDEBUG
|
||||
CXXFLAGS ?= -O3 -flto -DNDEBUG
|
||||
CFLAGS ?= -O3 -flto=auto -DNDEBUG
|
||||
CXXFLAGS ?= -O3 -flto=auto -DNDEBUG
|
||||
# Non-overridable CFLAGS
|
||||
# _ISOC11_SOURCE is required on certain platforms to get C11 on top of the C99-based POSIX 2008
|
||||
REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=gnu11 -I include \
|
||||
|
||||
Reference in new issue
Block a user