summaryrefslogtreecommitdiff
path: root/libcpu/aarch64/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/aarch64/SConscript')
-rw-r--r--libcpu/aarch64/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/aarch64/SConscript b/libcpu/aarch64/SConscript
index 8cd26c411f..c4dd45682c 100644
--- a/libcpu/aarch64/SConscript
+++ b/libcpu/aarch64/SConscript
@@ -12,9 +12,9 @@ bsp_path = Dir('#').abspath
if not os.path.exists(bsp_path + "/link.lds"):
Env['LINKFLAGS'] = Env['LINKFLAGS'].replace('link.lds', cwd + "/link.lds")
- # fix the linker with crtx.o
Preprocessing("link.lds.S", ".lds", CPPPATH=[bsp_path])
+# fix the linker with crtx.o
Env['LINKFLAGS'] += ' -nostartfiles'
# add common code files