summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-19 01:49:56 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-19 01:49:56 (EDT)
commiteeb94df813117715457b3169f22868a339fb59fc (patch)
tree7888d633f43608ece80ca23c00dd692b862d07c2 /build
parent69076cdc61b585cf9c051f7728bb2cbfbddc5fa5 (diff)
Revert "build, targets.d/*.mk: Don't edit MULTILIB_OSDIRNAMES"
This reverts commit 8ae6e901b08b3136349bbcaef806c7afbd0fe759.
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) -- \