makefiles/vars.inc.mk: do not export LINKFLAGS
It is only used by `Makefile.include` and should not be used by sub-make
instances.
This is required to prevent evaluating `LINKFLAGS` when not needed and a
required step to not evaluate it on the host with for example `avr-ld`
when building in docker.
I checked usage with:
git grep -e '(LINKFLAGS)' -e '{LINKFLAGS}'
Packages may be using it but `LINKFLAGS` is a RIOT way of naming
things and even if `generate-xcompile-toolchain` uses `LINK` it does not
use `LINKFLAGS`.
This commit is contained in:
parent
1f7292c358
commit
be75f734d1
@ -56,7 +56,7 @@ export ARFLAGS # Command-line options to pass to AR, default `rcs`
|
||||
export AS # The assembler.
|
||||
export ASFLAGS # Flags for the assembler.
|
||||
export LINK # The command used to link the files. Must take the same parameters as GCC, i.e. "ld" won't work.
|
||||
export LINKFLAGS # Flags to supply in the linking step.
|
||||
# LINKFLAGS # Flags to supply in the linking step.
|
||||
export LTOFLAGS # extra CFLAGS for compiling with link time optimization
|
||||
export OBJCOPY # The command used to create the HEXFILE.
|
||||
export OFLAGS # The parameter for OBJCOPY, e.g. to strip the debug information.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user