about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-09-27 13:22:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-09-27 13:22:45 +0000
commit23d21be24c15bd38bf3b68803da31b51f309ec4b (patch)
treee1880f3ee76240bd0aaa976264d684124ad68cb9 /configure
parent705281c73754456f5ab25ea486f0995f1be6789f (diff)
downloads6-linux-utils-23d21be24c15bd38bf3b68803da31b51f309ec4b.tar.gz
s6-linux-utils-23d21be24c15bd38bf3b68803da31b51f309ec4b.tar.xz
s6-linux-utils-23d21be24c15bd38bf3b68803da31b51f309ec4b.zip
configure: allow $CC to have several words
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f0b2653..0d5867a 100755
--- a/configure
+++ b/configure
@@ -78,7 +78,7 @@ cmdexists () {
 }
 
 trycc () {
-  test -z "$CC_AUTO" && cmdexists "$1" && CC_AUTO=$1
+  test -z "$CC_AUTO" && cmdexists "$1" && CC_AUTO="$*"
 }
 
 stripdir () {