Skip to content

Commit

Permalink
CMake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaworu committed Dec 23, 2019
1 parent 52079e5 commit 81abd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ include_directories(
# CFLAGS
add_compile_options(-std=c11 -Wall -Wextra)
add_compile_options(-fstack-protector-strong -o aslr -fpie)
set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} -pie)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
# Per build type flags.
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -O0 -g -fsanitize=undefined")
# CMAKE_BUILD_TYPE=GRIM: *very* strict compiler options
Expand Down

0 comments on commit 81abd5a

Please sign in to comment.