summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index cc320f1..f1e3e09 100755
--- a/build
+++ b/build
@@ -131,6 +131,9 @@ build-gcc-config:
STANDARD_LIBEXEC_PREFIX "$(gccexedir)/" >>"$(tm)/$(tm_file)"
printf '#define %s ""\n' STANDARD_STARTFILE_PREFIX_1 \
STANDARD_STARTFILE_PREFIX_2 >>"$(tm)/$(tm_file)"
+ [ -e "$(tm)/$(tmake_file).orig" ] || \
+ mv "$(tm)/$(tmake_file)" "$(tm)/$(tmake_file).orig"
+ sed "$(tmake_script)" "$(tm)/$(tmake_file).orig" >"$(tm)/$(tmake_file)"
build-native: build-gcc-config
oh-autobuild -B "$(builddir)" -T $(native_target) -- \