summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/aarch64/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcpu/aarch64/SConscript b/libcpu/aarch64/SConscript
index 52de02a27b..8cd26c411f 100644
--- a/libcpu/aarch64/SConscript
+++ b/libcpu/aarch64/SConscript
@@ -13,9 +13,10 @@ 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
- Env['LINKFLAGS'] += ' -nostartfiles'
Preprocessing("link.lds.S", ".lds", CPPPATH=[bsp_path])
+Env['LINKFLAGS'] += ' -nostartfiles'
+
# add common code files
group = group + SConscript(os.path.join('common', 'SConscript'))