summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2015-04-08 22:33:53 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-04-11 12:43:47 +0200
commit63e69fb4a0ce15d5a0c35c384402834ec2cb5152 (patch)
tree2bfc5c8dbf2f88828352f82b399aab8e682d3006
parent531ddb915b8208ae93cfb01f9a8a268efa3bea56 (diff)
configure: allow setting EFI_CC
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 79f6ddfca3..28cec8fb69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1149,8 +1149,7 @@ fi
AM_CONDITIONAL(ENABLE_EFI, [test "x$have_efi" = "xyes"])
# ------------------------------------------------------------------------------
-EFI_CC=gcc
-AC_SUBST([EFI_CC])
+AC_CHECK_TOOL(EFI_CC, gcc)
EFI_ARCH=`echo $host | sed "s/\(-\).*$//"`