From 78c770f92fd8e33a14072b55080c2418de6e196f Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Jan 21 2022 12:45:59 +0000 Subject: Add undefine _auto_set_build_flags --- diff --git a/edk2.spec b/edk2.spec index 96d7511..8435e86 100644 --- a/edk2.spec +++ b/edk2.spec @@ -1,3 +1,7 @@ +# https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck +# breaks cross-building +%undefine _auto_set_build_flags + %if %{defined fedora} # actual firmware builds support cross-compiling. edk2-tools # in theory should build everywhere without much trouble, but