Skip to content

Commit d211385

Browse files
Add cmake flag
1 parent b401e6d commit d211385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libpsl-native/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(PSL-NATIVE)
44
# Can't use add_compile_options with 2.8.11
55
set(CMAKE_BUILD_TYPE "Release")
66

7-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -fstack-protector-strong -fpie -D_FORTIFY_SOURCE=2 -gdwarf-5")
7+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -fstack-protector-strong -fpie -D_FORTIFY_SOURCE=2 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -gdwarf-5")
88

99
if(NOT DEFINED PS_GLIBC_MIN_VERSION)
1010
set(PS_GLIBC_MIN_VERSION "2.27"

0 commit comments

Comments
 (0)