freebsd-ports/graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake
Dmitry Marakasov 7784bff647 graphics/nvidia-texture-tools: update 2.1.1 → 2.1.2
Note: upstream no longer supports shared libnvmath, but consumer
ports (devel/osg*) still require it, so forcibly make it shared.
2022-04-01 17:37:34 +03:00

11 lines
331 B
CMake

--- cmake/OptimalOptions.cmake.orig 2020-08-24 06:27:21 UTC
+++ cmake/OptimalOptions.cmake
@@ -1,7 +1,6 @@
# Set optimal options for gcc:
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
ENDIF()