summaryrefslogtreecommitdiff
path: root/arch/sparc/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/config.mk')
-rw-r--r--arch/sparc/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk
index 196d28af84..d615f294fe 100644
--- a/arch/sparc/config.mk
+++ b/arch/sparc/config.mk
@@ -15,3 +15,5 @@ CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
-T $(srctree)/examples/standalone/sparc.lds
PLATFORM_CPPFLAGS += -D__sparc__
+
+PLATFORM_RELFLAGS += -fPIC