build: Add option to customize the LINKFLAGS

This commit is contained in:
Sebastian Huber
2021-07-06 07:48:46 +02:00
parent 3dcfdc3b32
commit c9e0445932
3 changed files with 19 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ links:
uid: optfatalverb
- role: build-dependency
uid: optincludes
- role: build-dependency
uid: optlinkflags
- role: build-dependency
uid: optldflags
- role: build-dependency

View File

@@ -11,7 +11,7 @@ default:
- -Wl,--gc-sections
default-by-variant: []
description: |
Flags passed to the linker (GNU ld)
Flags passed to the linker at the end of the link command.
enabled-by: true
links: []
name: LDFLAGS

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: []
default-by-variant: []
description: |
Flags passed to the linker.
enabled-by: true
links: []
name: LINKFLAGS
type: build