mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 20:51:36 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user