mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
cgo: allow for changes to 'short-enums' flag
This allows for changes to the 'short-enums' flag when using CGo since TinyGo already does this, and it is needed for the esp32s3 processor. Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -78,6 +78,7 @@ var validCompilerFlags = []*regexp.Regexp{
|
||||
re(`-f(no-)?(pic|PIC|pie|PIE)`),
|
||||
re(`-f(no-)?plt`),
|
||||
re(`-f(no-)?rtti`),
|
||||
re(`-f(no-)?short-enums`),
|
||||
re(`-f(no-)?split-stack`),
|
||||
re(`-f(no-)?stack-(.+)`),
|
||||
re(`-f(no-)?strict-aliasing`),
|
||||
|
||||
Reference in New Issue
Block a user