[gnome-build-meta/tristan/fdsdk-master-again: 19/26] Revert "Revert "project.conf: Set --build and --host more strictly""
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/tristan/fdsdk-master-again: 19/26] Revert "Revert "project.conf: Set --build and --host more strictly""
- Date: Tue, 25 Jun 2019 10:27:25 +0000 (UTC)
commit c5509a363999936b86c907b3c91bdeab19414b27
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date: Tue Jun 25 19:24:40 2019 +0900
Revert "Revert "project.conf: Set --build and --host more strictly""
This reverts commit 562c9fd6bbb0968c2f27dfcb38836d6845ad312c.
project.conf | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/project.conf b/project.conf
index c25b6295..be235c90 100644
--- a/project.conf
+++ b/project.conf
@@ -100,14 +100,7 @@ environment:
elements:
autotools:
variables:
- target: ''
- (?):
- - arch == "i686":
- target: --host=i686-unknown-linux-gnu
- - arch == "arm":
- target: --host=arm-unknown-linux-gnueabi
-
- conf-global: --disable-static --disable-Werror %{target}
+ conf-global: --disable-static --disable-Werror --host=%{triplet} --build=%{triplet}
# Temporary workaround to avoid regenerating existing
# configure scripts when building tarballs.
@@ -235,6 +228,7 @@ variables:
gcc_arch: "%{arch}"
abi: "gnu"
gcc_triplet: "%{gcc_arch}-linux-%{abi}"
+ triplet: "%{arch}-unknown-linux-%{abi}"
lib: "lib/%{gcc_triplet}"
sbindir: "%{bindir}"
sysconfdir: "/etc"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]