14 lines
532 B
Diff
14 lines
532 B
Diff
|
Index: CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- CMakeLists.txt.orig
|
||
|
+++ CMakeLists.txt
|
||
|
@@ -3,7 +3,7 @@ project(msg2)
|
||
|
|
||
|
# Flags
|
||
|
set(CMAKE_CXX_STANDARD 17)
|
||
|
-set(CMAKE_CXX_FLAGS "-Os -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -pedantic -Wno-parentheses -Wfatal-errors")
|
||
|
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -pedantic -Wno-parentheses -Wfatal-errors")
|
||
|
|
||
|
# Add source files
|
||
|
add_executable(msg2 main.cpp)
|