0cfbf98002
OBS-URL: https://build.opensuse.org/request/show/438487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=9
29 lines
725 B
Diff
29 lines
725 B
Diff
From 10ce90fca20fce776b8bdad504a5e3b915ded99f Mon Sep 17 00:00:00 2001
|
|
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
|
|
Date: Sun, 30 Oct 2016 11:26:25 +0300
|
|
Subject: [PATCH 1/2] Fix armv7 autodetection
|
|
|
|
armv7l is armv7 architecture and CFG_CPUTYPE should be armv7 in order to end up
|
|
with armv7-unknown-linux-gnueabihf.mk rather than
|
|
arm-unknown-linux-gnueabihf.mk
|
|
---
|
|
configure | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 2bc8c72..d62084c 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -508,7 +508,7 @@ case $CFG_CPUTYPE in
|
|
;;
|
|
|
|
armv7l)
|
|
- CFG_CPUTYPE=arm
|
|
+ CFG_CPUTYPE=armv7
|
|
CFG_OSTYPE="${CFG_OSTYPE}eabihf"
|
|
;;
|
|
|
|
--
|
|
2.1.4
|
|
|