[packages/grub2] use %{__cc} -E for CPP
atler
atler at pld-linux.org
Sat Mar 29 20:01:56 CET 2025
commit e37681004efbbc944ad346089e46a9ee7a53e316
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Mar 29 19:44:16 2025 +0100
use %{__cc} -E for CPP
grub expects CPP to accept multiple input files and produce output to
stdout
grub2.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/grub2.spec b/grub2.spec
index 8f3f6eb..f0f8fef 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -578,6 +578,7 @@ for platform in %{platforms} ; do
# mawk stalls at ./genmoddep.awk, so force gawk
%configure \
AWK=gawk \
+ CPP="%{__cc} -E" \
PYTHON="%{__python3}" \
--with-platform=${platform} \
--disable-werror \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/e37681004efbbc944ad346089e46a9ee7a53e316
More information about the pld-cvs-commit
mailing list