summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-03-23 17:46:26 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-03-23 17:46:26 -0700
commit04b291a17f1e5333c50a0462bb53827ecd1aee0e (patch)
treeefeba42ba40b431129627039adb325b26b2c4f82
parent9372eaa277591e261ccf200446c02a2be989a11f (diff)
downloadgnu-efi-make-r-fixes.tar.gz
gnu-efi-make-r-fixes.tar.xz
gnu-efi-make-r-fixes.zip
Make.rules: force -r option (drop builtin rules)make-r-fixes
Drop all builtin rules, as they can create arbitrary problems in their definition ends up being something we don't expect. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--Make.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Make.rules b/Make.rules
index 8cb93b0..e84d934 100644
--- a/Make.rules
+++ b/Make.rules
@@ -34,6 +34,9 @@
# SUCH DAMAGE.
#
+# Drop builtin rules
+MAKEFLAGS += -r
+
%.efi: %.so
$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
-j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \