aboutsummaryrefslogtreecommitdiff
path: root/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt
index 56c70d280..f2f8b9768 100644
--- a/src/lua/CMakeLists.txt
+++ b/src/lua/CMakeLists.txt
@@ -90,6 +90,11 @@ if(LUA_ANSI)
endif(LUA_ANSI)
#
+# COMMON_CFLAGS has no effect without this line
+#
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_CFLAGS}")
+
+#
# standard flags to use for each build type.
#
if(CMAKE_COMPILER_IS_GNUCC)