Index: patches/patch-cmake_modules_LXQtCompilerSettings_cmake
===================================================================
RCS file: /cvs/ports/x11/lxqt/build-tools/patches/patch-cmake_modules_LXQtCompilerSettings_cmake,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 patch-cmake_modules_LXQtCompilerSettings_cmake
--- patches/patch-cmake_modules_LXQtCompilerSettings_cmake	14 Sep 2018 15:17:26 -0000	1.1.1.1
+++ patches/patch-cmake_modules_LXQtCompilerSettings_cmake	2 Nov 2018 18:09:25 -0000
@@ -20,3 +20,13 @@ Index: cmake/modules/LXQtCompilerSetting
      )
      set(CMAKE_EXE_LINKER_FLAGS
          "${SYMBOLIC_FLAGS} ${CMAKE_EXE_LINKER_FLAGS}"
+@@ -153,7 +153,8 @@ endif()
+ # Turn on more aggrassive optimizations not supported by CMake
+ # References: https://wiki.qt.io/Performance_Tip_Startup_Time
+ #-----------------------------------------------------------------------------
+-if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX)
++if ((CMAKE_COMPILER_IS_GNUCXX OR LXQT_COMPILER_IS_CLANGCXX) AND
++    NOT (CMAKE_SYSTEM_NAME STREQUAL OpenBSD))
+     # -flto: use link-time optimizations to generate more efficient code
+     if (CMAKE_COMPILER_IS_GNUCXX)
+         set(LTO_FLAGS "-flto -fuse-linker-plugin")
