blob: a48d4acbd39cad69a44c0ff7dca1c65f1bfbd5b5 [file] [log] [blame]
From cc42c74aa90522d88d5cd30838ecd8964a18ff0a Mon Sep 17 00:00:00 2001
From: Avery Pennarun <apenwarr@gmail.com>
Date: Wed, 6 Jul 2016 02:17:08 -0400
Subject: [PATCH 1/2] Fix configure to work with CC="ccache gcc"
---
configure | 4 ++--
tryendianness | Bin 5298 -> 11083 bytes
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index a638a89..5b9e134 100755
--- a/configure
+++ b/configure
@@ -82,7 +82,7 @@ cmdexists () {
}
trycc () {
- test -z "$CC_AUTO" && cmdexists "$1" && CC_AUTO=$1
+ test -z "$CC_AUTO" && cmdexists $1 && CC_AUTO=$1
}
stripdir () {
@@ -311,7 +311,7 @@ else
cross=
fi
echo "Checking for C compiler..."
-trycc ${cross}${CC}
+trycc "${cross}${CC}"
trycc ${cross}gcc
trycc ${cross}c99
trycc ${cross}cc
--
2.8.0.rc3.226.g39d4020