aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLua.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.deps/cmake/BuildLua.cmake')
-rw-r--r--cmake.deps/cmake/BuildLua.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake.deps/cmake/BuildLua.cmake b/cmake.deps/cmake/BuildLua.cmake
index 58131a4ba7..f4581ddadd 100644
--- a/cmake.deps/cmake/BuildLua.cmake
+++ b/cmake.deps/cmake/BuildLua.cmake
@@ -28,7 +28,7 @@ if(CLANG_ASAN_UBSAN)
endif()
set(LUA_CONFIGURE_COMMAND
- sed -e "/^CC/s@gcc@${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1}@"
+ sed -e "/^CC/s@gcc@${CMAKE_C_COMPILER}@"
-e "/^CFLAGS/s@-O2@${LUA_CFLAGS}@"
-e "/^MYLDFLAGS/s@$@${LUA_LDFLAGS}@"
-e "s@-lreadline@@g"