[packages/aircrack-ng] do use %{rpmcflags}

atler atler at pld-linux.org
Thu Nov 9 04:39:12 CET 2023


commit 69548d01ec8319b1137f72c11123f7b6aedb483a
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Nov 9 02:24:55 2023 +0100

    do use %{rpmcflags}

 aircrack-ng.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/aircrack-ng.spec b/aircrack-ng.spec
index 3921c6d..465a22f 100644
--- a/aircrack-ng.spec
+++ b/aircrack-ng.spec
@@ -89,7 +89,7 @@ grep -r -l '#!/usr/bin/env python' scripts | xargs sed -i -e 's|#!/usr/bin/env p
 
 %build
 # GCC LTO objects must be "fat" to avoid assembly errors
-export CFLAGS="-ffat-lto-objects -fcommon"
+export CFLAGS="%{rpmcflags} -ffat-lto-objects -fcommon"
 
 %{__libtoolize}
 %{__aclocal} -I build/m4/stubs -I build/m4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aircrack-ng.git/commitdiff/ccd45a2f43b6cf7962dbf78fb60a5a1071f2675c



More information about the pld-cvs-commit mailing list