optstdcc.yml: Add C standard version for Microblaze GCC 12

Add --std= argument to RTEMS compilation. Microblaze uses GCC 12
and the argument is gnu2x rather than gnu23 which is used after
C23 was released.
This commit is contained in:
Joel Sherrill
2026-01-18 12:57:22 -06:00
parent a5803cbc89
commit 0975fe5f6c

View File

@@ -8,6 +8,10 @@ build-type: option
copyrights:
- Copyright (C) 2026 On-Line Applications Research Corporation
default:
- enabled-by:
- microblaze
value:
- -std=gnu2x -D_BSD_SOURCE
- enabled-by: true
value:
- -std=gnu23 -D_BSD_SOURCE