commit 974022b9204fffd07aa81542b1a2a5141267c819
Author: Jakub Bogusz <[email protected]>
Date:   Fri Jul 1 19:44:48 2022 +0200

    - -Wno-address-of-packed-member no longer needed; static efivar is broken 
(guids data rely on dynamic linker script)

 efivar.spec | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/efivar.spec b/efivar.spec
index 7a4e0a8..714fb43 100644
--- a/efivar.spec
+++ b/efivar.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without static          # efivar-static binary (static version of 
efivar)
+%bcond_with    static          # efivar-static binary (static version of 
efivar; broken as of 38)
 %bcond_without static_libs     # static libraries
 #
 Summary:       Tools to manage UEFI variables
@@ -76,11 +76,6 @@ Statyczna biblioteka efivar.
 %patch1 -p1
 
 %build
-%if "%{cc_version}" >= "9"
-WFLAGS=-Wno-address-of-packed-member
-%else
-WFLAGS=
-%endif
 %{__make} -j1 all static \
        CC="%{__cc}" \
        CFLAGS="%{rpmcflags} $WFLAGS" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/efivar.git/commitdiff/974022b9204fffd07aa81542b1a2a5141267c819

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to