summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-04-08 12:28:40 +0200
committerRichard Braun <rbraun@sceen.net>2018-04-08 12:28:40 +0200
commit7244e3aa398aab54be10baa61e1dd37b2a61d286 (patch)
tree0d295afa5d7dd662ff7a9a067bb6ef935e44ae77
parente4df4d43b9d811904884b98fc4fc7c5836bf8d75 (diff)
Makefile: normalize linker options passing
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2477b85..772bc98 100644
--- a/Makefile
+++ b/Makefile
@@ -300,7 +300,7 @@ x15_OBJECTS := $(call xbuild_replace_source_suffix,o,$(x15_SOURCES))
x15_LDS_D := $(call xbuild_gen_linker_script_depfile,$(x15_LDS_S))
x15_LDS := $(basename $(x15_LDS_S))
-XBUILD_LDFLAGS += -Xlinker -T $(x15_LDS)
+XBUILD_LDFLAGS += -Wl,--script=$(x15_LDS)
define gen_sorted_init_ops
$(call xbuild_action,GEN,$@) \