From f475f6dee33eeb3643366d301c71e15ae06e1eae Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Fri, 5 Jul 2019 12:52:03 +0200 Subject: [PATCH] Remove -fPIC from tracetools and tracetools_test --- tracetools/CMakeLists.txt | 2 +- tracetools_test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tracetools/CMakeLists.txt b/tracetools/CMakeLists.txt index ca6062a..d380498 100644 --- a/tracetools/CMakeLists.txt +++ b/tracetools/CMakeLists.txt @@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") - add_compile_options(-Wall -Wextra -Wpedantic -fPIC) + add_compile_options(-Wall -Wextra -Wpedantic) endif() find_package(ament_cmake REQUIRED) diff --git a/tracetools_test/CMakeLists.txt b/tracetools_test/CMakeLists.txt index b09e2a0..aeaf7c7 100644 --- a/tracetools_test/CMakeLists.txt +++ b/tracetools_test/CMakeLists.txt @@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") - add_compile_options(-Wall -Wextra -Wpedantic -fPIC) + add_compile_options(-Wall -Wextra -Wpedantic) endif() find_package(ament_cmake REQUIRED)