[Remove] -fno-inline, potentially harm debug performance with no extra gain.
This commit is contained in:
parent
8213cb9f48
commit
c464e7d056
@ -30,7 +30,7 @@ ifeq ($(OS),LINUX)
|
|||||||
endif
|
endif
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CFLAGS += -W -Wall -Wextra -Wshadow -Wpointer-arith -Wmissing-prototypes -Winline -Wcast-align \
|
CFLAGS += -W -Wall -Wextra -Wshadow -Wpointer-arith -Wmissing-prototypes -Winline -Wcast-align \
|
||||||
-Wmissing-declarations -fno-inline -g3 -DDEBUG -DLUA_USE_APICHECK -std=c99
|
-Wmissing-declarations -g3 -DDEBUG -DLUA_USE_APICHECK -std=c99
|
||||||
else
|
else
|
||||||
CFLAGS += -O2 -funroll-loops -pipe -std=c99
|
CFLAGS += -O2 -funroll-loops -pipe -std=c99
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user