diff options
| author | Paul Spooren | 2025-08-22 07:52:59 +0000 |
|---|---|---|
| committer | Paul Spooren | 2025-08-22 07:52:59 +0000 |
| commit | e286791b8808f186856fed51c15820e851e20af2 (patch) | |
| tree | 8c3088ff566ff09042383f6373238cb7962e708d | |
| parent | aff2f096235b62cdccc47b9e453c318c8f90e1f6 (diff) | |
| download | openwrt-e286791b8808f186856fed51c15820e851e20af2.tar.gz | |
include: always set macro-prefix-map for reproducibility
The current implementation either adds macro-prefix-map XOR file-prefix-map (if
REPRODUCIBLE_DEBUG_INFO is defined). Let's have the former always active to
improve the reproducibility.
Signed-off-by: Paul Spooren <mail@aparcar.org>
| -rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ else endif ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_TARGET_uml)),) - iremap = -f$(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),file,macro)-prefix-map=$(1)=$(2) + iremap = -fmacro-prefix-map=$(1)=$(2) $(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),-ffile-prefix-map=$(1)=$(2)) endif PACKAGE_DIR?=$(BIN_DIR)/packages |