projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge patch series "riscv: kexec: cleanup and fixups"
[linux-2.6-block.git]
/
arch
/
riscv
/
purgatory
/
Makefile
diff --git
a/arch/riscv/purgatory/Makefile
b/arch/riscv/purgatory/Makefile
index 9e6476719abbbb4e9206cd89292be7f25261a5b6..982fc8e771085edc6ba91f40855ec8edca525c13 100644
(file)
--- a/
arch/riscv/purgatory/Makefile
+++ b/
arch/riscv/purgatory/Makefile
@@
-81,6
+81,10
@@
ifdef CONFIG_CFI_CLANG
PURGATORY_CFLAGS_REMOVE += $(CC_FLAGS_CFI)
endif
+ifdef CONFIG_RELOCATABLE
+PURGATORY_CFLAGS_REMOVE += -fPIE
+endif
+
CFLAGS_REMOVE_purgatory.o += $(PURGATORY_CFLAGS_REMOVE)
CFLAGS_purgatory.o += $(PURGATORY_CFLAGS)