1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00
freebsd-ports/games/fs2open/files/patch-cmake_toolchain-gcc.cmake
Piotr Kubaj 8977662785 games/fs2open: update to release_21_0_0
Change log: (chronologically ordered)
    More OpenGL optimizations
    Full type information output for Lua documentation. Very useful for writing Lua scripts.
    A new -weaponspew command-line option for printing MediaVP-style statistics, plus a weapon comparison spreadsheet, to the debug log.
    Improved ship lookup behavior in SEXPs for improved performance.
    BPTC/BC7 texture compression support
    Refactoring and new features for the ship lab.
    Missile multi-lock. It's finally in an official build!
    Enhancements to the model code in preparation for cool features in 21.2.
    IPv6 support for multiplayer
    A lot of general fixes for multiplayer.
2021-01-28 12:47:48 +00:00

14 lines
565 B
CMake

--- cmake/toolchain-gcc.cmake.orig 2021-01-28 12:41:41 UTC
+++ cmake/toolchain-gcc.cmake
@@ -12,8 +12,8 @@ option(GCC_USE_GOLD "Use the gold linker instead of th
option(GCC_GENERATE_GDB_INDEX "Adds linker option to generate the gdb index for debug builds" OFF)
# These are the default values
-set(C_BASE_FLAGS "-march=native -pipe")
-set(CXX_BASE_FLAGS "-march=native -pipe")
+set(C_BASE_FLAGS "${CMAKE_C_FLAGS_RELEASE}")
+set(CXX_BASE_FLAGS "${CMAKE_CXX_FLAGS_RELEASE}")
# For C and C++, the values can be overwritten independently
if(DEFINED ENV{CFLAGS})