Skip to content

Commit b56ca1a

Browse files
committed
Disable PIE without ENABLE_SSP
1 parent 6b4bb11 commit b56ca1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMake/HPHPCompiler.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQU
9090
"pie"
9191
"fPIC"
9292
)
93+
else()
94+
list(APPEND GENERAL_OPTIONS "no-pie")
9395
endif()
9496

9597
if (IS_X64)

0 commit comments

Comments
 (0)