Skip to content

Use -std=gnu11 instead of -std=c11 on Linux #46

@4og

Description

@4og

What

Baselibs module is going to depend on OpenSSL from BCR. The BCR-provided OpenSSL relies on GNU extensions for C11, and therefore requires compilation with -std=gnu11 on Linux.

At the moment, the Linux cc_toolchain enforces -std=c11, which causes the build to fail.
The task is to investigate the feasibility and impact of switching the Linux toolchain to use -std=gnu11 instead.

Acceptance Criteria (DoD)

How

Change here to gnu11

# Default compile flags for C language when no specific build type is selected.
DEFAULT_C_COMPILE_FLAGS = get_flag_group([
"-std=c11",
])

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature requestp3Medium/Low - handle it within normal processquestionFurther information is requestedtemplateAdd or update template toolchain configurations

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions