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
30 lines
709 B
Diff
30 lines
709 B
Diff
From 9b81f3c81b6340221f9713afa9ead070086d7314 Mon Sep 17 00:00:00 2001
|
|
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
|
|
Date: Sun, 30 Oct 2016 11:27:58 +0300
|
|
Subject: [PATCH 2/2] Add armv6l autodetection
|
|
|
|
Use arm-unknown-linux-gnueabihf for hardware floating point armv6 variant
|
|
---
|
|
configure | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index d62084c..4e62e49 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -507,6 +507,11 @@ case $CFG_CPUTYPE in
|
|
CFG_CPUTYPE=arm
|
|
;;
|
|
|
|
+ armv6l)
|
|
+ CFG_CPUTYPE=arm
|
|
+ CFG_OSTYPE="${CFG_OSTYPE}eabihf"
|
|
+ ;;
|
|
+
|
|
armv7l)
|
|
CFG_CPUTYPE=armv7
|
|
CFG_OSTYPE="${CFG_OSTYPE}eabihf"
|
|
--
|
|
2.1.4
|
|
|