aports/testing/sdrangel/no-march-magic.patch
Leon ROUX 29a25bd111 testing/sdrangel: new aport
https://github.com/f4exb/sdrangel
SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube
2023-02-22 11:31:14 +00:00

15 lines
463 B
Diff

disable the completely useless -march= option detective for native
--
diff --git a/cmake/Modules/CompilerOptions.cmake b/cmake/Modules/CompilerOptions.cmake
index db06105..a3d8ed0 100644
--- a/cmake/Modules/CompilerOptions.cmake
+++ b/cmake/Modules/CompilerOptions.cmake
@@ -1,7 +1,5 @@
include_guard(GLOBAL)
-include(DetectArchitecture)
-
if (NOT APPLE)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
message(STATUS "Interprocedural optimization enabled")