[systemd-devel] [PATCH 3/5] efi: use EFI_CC

Marc-Antoine Perennou Marc-Antoine at Perennou.com
Tue Apr 7 11:54:04 PDT 2015


---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 29111f5..1608c83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1172,7 +1172,7 @@ AS_IF([test "x$enable_gnuefi" != "xno"], [
                        [AC_MSG_ERROR([*** gnuefi support requested but headers not found])])
         ])
 
-        efiroot=$(echo $(cd /usr/lib/$(gcc -print-multi-os-directory); pwd))
+        efiroot=$(echo $(cd /usr/lib/$(${EFI_CC} -print-multi-os-directory); pwd))
 
         EFI_LIB_DIR="$efiroot"
         AC_ARG_WITH(efi-libdir,
-- 
2.3.3



More information about the systemd-devel mailing list