diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-09-10 17:08:19 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-09-10 17:08:19 +0200 |
commit | 37d9652ee0011eff9346a54c33bd459b53e29d0f (patch) | |
tree | 20283dcc2c3373816ae58bc12978f1fbf4043d3a /CMakeLists.txt | |
parent | 7553044c59814c33763bb4b1c34664dceed68735 (diff) |
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 <jose.bollo@iot.bzh>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |