From 2f386057f526b2a42eba662c5ed3dca7447f12cd Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 15 Jul 2021 02:42:00 +0200 Subject: tests/CMakeLists.txt: add -no-pie compile flag --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 23d0dc3..71235dd 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,6 +1,6 @@ find_package(GMock REQUIRED) -SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${COMPILE_FLAGS}") +SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie -std=c++11 ${COMPILE_FLAGS}") # dbustest pkg_check_modules(DBUSTEST REQUIRED -- cgit v1.2.3