Skip to content

Commit

Permalink
Set flags for lab9A correctly when building.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matir committed Mar 8, 2017
1 parent c0c0ec8 commit 50c8ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lab09/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ add_executable(lab9C lab9C.cpp)
SET_FLAGS(lab9C "-fstack-protector-all -z relro -z now")

add_executable(lab9A lab9A.cpp)
SET_FLAGS(lab9C "-fstack-protector-all -z relro -z now -fPIE -pie")
SET_FLAGS(lab9A "-fstack-protector-all -z relro -z now -fPIE -pie")

# These are the files we want to give students
install(TARGETS lab9C lab9A DESTINATION "${RELEASE_DIR}/lab09")
Expand Down

0 comments on commit 50c8ac9

Please sign in to comment.