diff options
Diffstat (limited to 'devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake')
-rw-r--r-- | devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake b/devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake deleted file mode 100644 index 324f31c4fdc9..000000000000 --- a/devel/lxqt-build-tools/files/extra-patch-cmake_modules_LXQtCompilerSettings.cmake +++ /dev/null @@ -1,13 +0,0 @@ ---- cmake/modules/LXQtCompilerSettings.cmake.orig 2017-01-01 21:46:43 UTC -+++ cmake/modules/LXQtCompilerSettings.cmake -@@ -144,7 +144,9 @@ endif() - if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX) - # -flto: use link-time optimizations to generate more efficient code - if (CMAKE_COMPILER_IS_GNUCXX) -- set(LTO_FLAGS "-flto -fuse-linker-plugin") -+ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") -+ set(LTO_FLAGS "-flto -fuse-linker-plugin") -+ endif() - # When building static libraries with LTO in gcc >= 4.9, - # "gcc-ar" and "gcc-ranlib" should be used instead of "ar" and "ranlib". - # references: |