mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-21 17:04:28 +04:00
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>
This commit is contained in:
2
rules.mk
2
rules.mk
@@ -174,7 +174,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_TARGET_uml)),)
|
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
|
endif
|
||||||
|
|
||||||
PACKAGE_DIR?=$(BIN_DIR)/packages
|
PACKAGE_DIR?=$(BIN_DIR)/packages
|
||||||
|
|||||||
Reference in New Issue
Block a user