]> git.pld-linux.org Git - packages/kismet.git/commitdiff
- do not override our optimization flags
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Mar 2022 18:45:42 +0000 (20:45 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 27 Mar 2022 18:45:42 +0000 (20:45 +0200)
kismet.spec
opt.patch [new file with mode: 0644]

index e181718d2d71dc4c3ba46239d2113230ea62a498..70108dbb70c221c906f759ee439936a42a2ddea9 100644 (file)
@@ -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 (file)
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__)
This page took 0.052355 seconds and 4 git commands to generate.