From 2e474e349180570ae557747440fbc1ab66a9eb57 Mon Sep 17 00:00:00 2001 From: "Michael Mair-Keimberger (asterix)" Date: Thu, 12 Jan 2017 19:03:14 +0100 Subject: net-wireless/inspectrum: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/3447 --- .../inspectrum/files/inspectrum-0.1-cxxflags.patch | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 net-wireless/inspectrum/files/inspectrum-0.1-cxxflags.patch (limited to 'net-wireless') diff --git a/net-wireless/inspectrum/files/inspectrum-0.1-cxxflags.patch b/net-wireless/inspectrum/files/inspectrum-0.1-cxxflags.patch deleted file mode 100644 index b7b35a975aef..000000000000 --- a/net-wireless/inspectrum/files/inspectrum-0.1-cxxflags.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6287ae4153231865c9d3cafaf8c80d488b8ba84e Mon Sep 17 00:00:00 2001 -From: Mike Walters -Date: Mon, 5 Oct 2015 18:29:37 +0100 -Subject: [PATCH] Set default CXXFLAGS if none are set - ---- - CMakeLists.txt | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 47e8faa..b788a24 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -15,9 +15,13 @@ if (WIN32) - endif(NOT(MMAN)) - ENDIF (WIN32) - -+if (NOT CMAKE_CXX_FLAGS) -+ set(CMAKE_CXX_FLAGS "-O2") -+endif (NOT CMAKE_CXX_FLAGS) -+ - # This only works in cmake >3.1 - #set_property(TARGET inspectrum PROPERTY CXX_STANDARD 11) --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11 -O3") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") - - list(APPEND inspectrum_sources - main.cpp -- cgit v1.2.3-65-gdbad