aboutsummaryrefslogtreecommitdiff
path: root/Lua/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Lua/Makefile')
-rw-r--r--Lua/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lua/Makefile b/Lua/Makefile
index 3c9a745..0912289 100644
--- a/Lua/Makefile
+++ b/Lua/Makefile
@@ -5,7 +5,8 @@ LUA_DIR=/usr/local
LUA_INC= $(LUA_DIR)/include
LUA=lua
INCS=-I$(LUA_INC)
-CFLAGS=-std=c99 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -flto
+CFLAGS=-std=c11 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -fPIC -flto=auto -fvisibility=hidden \
+ -fsanitize=signed-integer-overflow -fno-sanitize-recover
CWARN=-Wall -Wextra
# -Wpedantic -Wsign-conversion -Wtype-limits -Wunused-result -Wnull-dereference \
# -Waggregate-return -Walloc-zero -Walloca -Warith-conversion -Wcast-align -Wcast-align=strict \