summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 20:04:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 20:04:41 (EDT)
commitb81d6d62b741b9767c7603004dea94f91baaa5e1 (patch)
treec0bc7a89a19c367cd494a019fe89880dc4d337cd
parent5309f98deb6ae81022dc6b839e234636f49cb525 (diff)
build, targets.d/*.mk: Don't edit MULTIARCH_DIRNAME
-rwxr-xr-xbuild3
-rw-r--r--targets.d/amd64-linux-glibc.mk1
-rw-r--r--targets.d/i686-linux-glibc.mk1
3 files changed, 0 insertions, 5 deletions
diff --git a/build b/build
index 5b55cfe..6dec72e 100755
--- a/build
+++ b/build
@@ -129,9 +129,6 @@ 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"
- printf '\nMULTIARCH_DIRNAME = %s\n' "$(target)" >>"$(tm)/$(tmake_file)"
build-native: build-gcc-config
oh-autobuild -B "$(builddir)" -T $(native_target) -- \
diff --git a/targets.d/amd64-linux-glibc.mk b/targets.d/amd64-linux-glibc.mk
index 8732341..a541aa7 100644
--- a/targets.d/amd64-linux-glibc.mk
+++ b/targets.d/amd64-linux-glibc.mk
@@ -1,4 +1,3 @@
tm_file = i386/linux64.h
tm_interp_macro = GLIBC_DYNAMIC_LINKER64
-tmake_file = i386/t-linux64
target_opts =
diff --git a/targets.d/i686-linux-glibc.mk b/targets.d/i686-linux-glibc.mk
index dc2a20b..c51708b 100644
--- a/targets.d/i686-linux-glibc.mk
+++ b/targets.d/i686-linux-glibc.mk
@@ -1,4 +1,3 @@
tm_file = i386/linux.h
tm_interp_macro = GLIBC_DYNAMIC_LINKER
-tmake_file = i386/t-linux
target_opts = --with-arch=i686 --with-tune=i686