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=37d9652ee0011eff9346a54c33bd459b53e29d0f;hp=7553044c59814c33763bb4b1c34664dceed68735 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)