projects
/
openwrt
/
staging
/
zorun.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: make prefix mapping of debug information optional
[openwrt/staging/zorun.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index e734b4a582939cb192724f931d2b1492eb3d85bb..479172de033df5c4e3463f2cef2abb229b8685b5 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-144,7
+144,7
@@
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_TARGET_uml)),)
ifeq ($(CONFIG_GCC_USE_IREMAP),y)
iremap = -iremap$(1):$(2)
else
- iremap = -f
file
-prefix-map=$(1)=$(2)
+ iremap = -f
$(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),file,macro)
-prefix-map=$(1)=$(2)
endif
endif