From: José Bollo Date: Tue, 10 Sep 2019 15:08:19 +0000 (+0200) Subject: Make source files relative X-Git-Tag: 8.99.1~4 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=refs%2Fchanges%2F75%2F22375%2F1 Make source files relative It is intended to enhance reproducibility of produced binaries as unmeaning prefixes are removed. Bug-AGL: SPEC-2801 Change-Id: Ic406e4477e47c313757c00932db0f129e1d3d01f Signed-off-by: José Bollo --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c83e59d..51b72b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,7 @@ else(ALLOW_NO_SIGNATURE) add_definitions(-DDEFAULT_ALLOW_NO_SIGNATURE=0) endif(ALLOW_NO_SIGNATURE) +add_compile_options(-ffile-prefix-map=${CMAKE_CURRENT_SOURCE_DIR}=.) add_subdirectory(src) add_subdirectory(conf)