From 2c488b7cbc9b138c1bc8329a63a092c113e3deff Mon Sep 17 00:00:00 2001 From: Konstantin Podshumok Date: Mon, 30 Jan 2017 07:32:19 +0300 Subject: [PATCH] CMakeLists.txt: "-no-pie" should be "---no-pie" --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d1cf8c3548..34eec132a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,8 +126,8 @@ if (NOT APPLE) endif () if (USE_STATIC_LIBRARIES AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie") - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -no-pie") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --no-pie") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --no-pie") endif () -- GitLab