mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-06 10:59:48 +08:00
Move -ffunction-sections and -fdata-sections into new SECTION_FLAGS option to prevent breakage when users override OPTIMIZATION_FLAGS. Also added documentation for user's to override the flags. Fixes stack checker undefined reference when OPTIMIZATION_FLAGS=-g. Also added a copyright field for valid license. Fixes #5497
20 lines
382 B
YAML
20 lines
382 B
YAML
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
|
actions:
|
|
- get-string: null
|
|
- split: null
|
|
- env-assign: null
|
|
build-type: option
|
|
copyrights:
|
|
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
|
default:
|
|
- enabled-by: true
|
|
value:
|
|
- -Og
|
|
- -g
|
|
description: |
|
|
Default optimization flags for C and C++ compilers.
|
|
enabled-by: true
|
|
links: []
|
|
name: OPTIMIZATION_FLAGS
|
|
type: build
|