diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2022-04-01 16:56:04 +0300 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2022-04-01 17:37:34 +0300 |
commit | 7784bff647afcc6e49154cb6e909631a464e3cd0 (patch) | |
tree | 4df8301f2d85ed376988a1f341bb3d48c363a972 /graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake | |
parent | textproc/difftastic: update 0.24.0 → 0.25.0 (diff) |
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.
Diffstat (limited to 'graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake')
-rw-r--r-- | graphics/nvidia-texture-tools/files/patch-cmake_OptimalOptions.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
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() + |