ports/emulators/86Box/files/patch-cmake_flags-gcc.cmake
gatekeeper af9050eeb8 emulators/86Box: New port: low level x86 emulator based on PCem
86Box is a low level x86 emulator that runs older operating systems and
software designed for IBM PC systems and compatibles from 1981 through
fairly recent system designs based on the PCI bus.
https://86box.net
https://github.com/86Box/86Box

PR:	280205
2024-08-03 14:34:17 +03:00

11 lines
871 B
CMake

--- cmake/flags-gcc.cmake.orig 2024-07-26 18:17:03 UTC
+++ cmake/flags-gcc.cmake
@@ -16,8 +16,6 @@ string(APPEND CMAKE_CXX_FLAGS_INIT " -fom
# Define our flags
string(APPEND CMAKE_C_FLAGS_INIT " -fomit-frame-pointer -Wall -fno-strict-aliasing -Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition")
string(APPEND CMAKE_CXX_FLAGS_INIT " -fomit-frame-pointer -Wall -fno-strict-aliasing")
-string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -g0 -O3")
-string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -g0 -O3")
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -ggdb -Og")
string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -ggdb -Og")
string(APPEND CMAKE_C_FLAGS_OPTIMIZED_INIT " -march=native -mtune=native -O3 -ffp-contract=fast -flto")