From: Felipe Sateler Date: Fri, 13 Oct 2017 00:19:55 +0000 (-0300) Subject: Remove autodetection of raspberry cpus X-Git-Tag: archive/raspbian/1%3.12.2+repack-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb4bbfaa01a60deaec3bc165af9ed3a1e6514e25;p=supercollider.git Remove autodetection of raspberry cpus In debian we don't actually target raspberries, and guessing based on the build machine is wrong too Bug-Debian: https://bugs.debian.org/878347 Gbp-Pq: Name Remove-autodetection-of-raspberry-cpus.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e00e0f..4f9c551 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,21 +387,6 @@ elseif(MINGW) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign") endif() -# support for building on Raspberry Pi 1/2/3 and BBB -if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l") - foreach(flag CMAKE_C_FLAGS CMAKE_CXX_FLAGS) - set(${flag} "${${flag}} -mfloat-abi=hard") - set(${flag} "${${flag}} -mfpu=neon") - endforeach() -elseif(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR STREQUAL "armv6l") - foreach(flag CMAKE_C_FLAGS CMAKE_CXX_FLAGS) - set(${flag} "${${flag}} -march=armv6") - set(${flag} "${${flag}} -mtune=arm1176jzf-s") - set(${flag} "${${flag}} -mfloat-abi=hard") - set(${flag} "${${flag}} -mfpu=vfp") - endforeach() -endif() - if (NO_GPL3) add_definitions(-DNO_GPL3) endif()