Skip to content

Commit 50c8ac9

Browse files
authored
Set flags for lab9A correctly when building.
1 parent c0c0ec8 commit 50c8ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lab09/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_executable(lab9C lab9C.cpp)
55
SET_FLAGS(lab9C "-fstack-protector-all -z relro -z now")
66

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

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

0 commit comments

Comments
 (0)