Configure: If cross-compiling to linux, pick the proper hints file
authorBrian Fraser <fraserbn@gmail.com>
Fri, 15 Nov 2013 06:39:02 +0000 (03:39 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:22 +0000 (14:44 -0300)
Something like arm-linux-gnueabihf -- which is what the raspberry pi
gets as its targetarch -- is really just plain Linux, so set osname
to that and load up the hints file.

Configure

index 7fc99b5..a6fa428 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -3550,6 +3550,11 @@ EOM
                     # and i686-linux-android
                     osname=linux-android
                     ;;
+                *linux*)
+                    # Something like arm-linux-gnueabihf is really just
+                    # plain linux.
+                    osname=linux
+                    ;;
                 *)
                     osname=`echo $targetarch|sed 's,^[^-]*-,,'`
                 ;;