You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/cmake/AROS.cmake
+4-4
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ SET(CMAKE_SYSTEM_VERSION 1)
7
7
SET(CMAKE_CROSSCOMPILINGON)
8
8
9
9
# options
10
-
SET(CMAKE_CXX_FLAGS"")
11
-
SET(CMAKE_CXX_FLAGS_DEBUG"-g -gdwarf-3")
10
+
SET(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG"CACHESTRING"Flags used by the C compiler during RELEASE builds.")
11
+
SET(CMAKE_CXX_FLAGS_RELEASE"-O2 -DNDEBUG"CACHESTRING"Flags used by the CXX compiler during RELEASE builds.")
12
12
13
-
SET(CMAKE_C_FLAGS "")
14
-
SET(CMAKE_C_FLAGS_DEBUG"-g -gdwarf-3")
13
+
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O1 -gdwarf -g1 -DNDEBUG -fno-exceptions -fno-strict-aliasing"CACHESTRING"Flags used by the C compiler during RELWITHDEBINFO builds.")
14
+
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO"-O1 -gdwarf -g1 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti"CACHESTRING"Flags used by the CXX compiler during RELWITHDEBINFO builds.")
0 commit comments