From 7784bff647afcc6e49154cb6e909631a464e3cd0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 1 Apr 2022 16:56:04 +0300 Subject: =?UTF-8?q?graphics/nvidia-texture-tools:=20update=202.1.1=20?= =?UTF-8?q?=E2=86=92=202.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: upstream no longer supports shared libnvmath, but consumer ports (devel/osg*) still require it, so forcibly make it shared. --- .../files/patch-cmake_OptimalOptions.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake (limited to 'graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake') diff --git a/graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake b/graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake new file mode 100644 index 000000000000..3e9cc9d64463 --- /dev/null +++ b/graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake @@ -0,0 +1,10 @@ +--- 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() + -- cgit v1.2.3