Merge branch 'master' into structure-refactor

This commit is contained in:
Kuba Szczodrzyński
2023-03-16 11:18:13 +01:00
2 changed files with 5 additions and 0 deletions

View File

@@ -46,6 +46,10 @@ queue.AppendPublic(
"-mthumb-interwork",
"-Wno-write-strings",
"-Wno-attributes",
# anything higher, like -O2 or -Os, causes random issues
# like bootlooping, missing (blank) strings, random lockups during boot
"+<-O1>",
"-<-Os>",
],
CPPDEFINES=[
# SDK options

View File

@@ -32,6 +32,7 @@ env.Append(
"-ffunction-sections", # place each function or data item into its own section
"-fno-strict-aliasing", # (don't) assume the strictest aliasing rules applicable
"-fno-inline-functions", # (don't) consider all functions for inlining
"-fno-delete-null-pointer-checks", # assume that programs can safely dereference null pointers
# Preprocessor Options
"-MMD", # output a rule suitable for make describing the dependencies of the main source file
# Code Generation Options