summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmake/cmake.d/01-build_options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmake/cmake.d/01-build_options.cmake b/src/cmake/cmake.d/01-build_options.cmake
index 3b1eca7..ccd8b13 100644
--- a/src/cmake/cmake.d/01-build_options.cmake
+++ b/src/cmake/cmake.d/01-build_options.cmake
@@ -58,6 +58,7 @@ set(COMPILE_OPTIONS -Wall
-Werror=implicit-function-declaration
-ffunction-sections
-fdata-sections
+ -ffile-prefix-map=${CMAKE_SOURCE_DIR}=.
-fPIC CACHE STRING "Compilation flags")
set(COMPILE_OPTIONS_GNU -Werror=maybe-uninitialized CACHE STRING "GNU Compile specific options")