[packages/kismet] - do not override our optimization flags

baggins baggins at pld-linux.org
Sun Mar 27 20:46:21 CEST 2022


commit fecf00c7214c6f9f05f9277451d4b5f4bafaab0a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 27 20:45:42 2022 +0200

    - do not override our optimization flags

 kismet.spec |  2 ++
 opt.patch   | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/kismet.spec b/kismet.spec
index e181718..70108db 100644
--- a/kismet.spec
+++ b/kismet.spec
@@ -8,6 +8,7 @@ License:	GPL
 Group:		Networking/Utilities
 Source0:	http://www.kismetwireless.net/code/%{name}-%{tarver}.tar.xz
 # Source0-md5:	df4cc90d5183b7fd45846a33bf598339
+Patch0:		opt.patch
 URL:		http://www.kismetwireless.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -51,6 +52,7 @@ wsparcie dla kart bez obsługi Monitora RF.
 
 %prep
 %setup -q -n %{name}-%{tarver}
+%patch0 -p1
 
 # make lib64 aware, include exec bits on install
 %{__sed} -i -e 's!\$(prefix)/lib/!%_libdir/!g' plugin-*/Makefile
diff --git a/opt.patch b/opt.patch
new file mode 100644
index 0000000..2d9d9ac
--- /dev/null
+++ b/opt.patch
@@ -0,0 +1,12 @@
+--- kismet-2021-05-R1/configure.ac~	2021-05-20 00:58:52.000000000 +0200
++++ kismet-2021-05-R1/configure.ac	2022-03-27 20:38:53.095863552 +0200
+@@ -209,9 +209,6 @@
+ 
+ AC_SUBST(PLUGINLDFLAGS)
+ 
+-CXXFLAGS="$CXXFLAGS -O3"
+-CFLAGS="$CFLAGS -O3"
+-
+ if test "$cygwin" = "yes"; then
+ 	AC_MSG_CHECKING(cygwin compile flags)
+ 	AC_MSG_RESULT(__MINGW32__)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kismet.git/commitdiff/fecf00c7214c6f9f05f9277451d4b5f4bafaab0a



More information about the pld-cvs-commit mailing list