Commit 95dfed04 authored by Rafal Babski's avatar Rafal Babski

MSP430 runtime - fix error with unrecognized option -z

gprbuild adds a flag -z to the linker commandline
This causes following error during compilation:
/opt/msp430-gcc/bin/../lib/gcc/msp430-elf/8.3.1/../../../../msp430-elf/bin/ld: unrecognized option '-z'
/opt/msp430-gcc/bin/../lib/gcc/msp430-elf/8.3.1/../../../../msp430-elf/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
The option -R passed to the gprbuild commandline prevents adding
additional parameters.
parent 4a0c94c7
......@@ -13,7 +13,7 @@
all: partitions
partitions: freertos
gprbuild -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Release" -cargs:C -DSTATIC=""
gprbuild -R -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Release" -cargs:C -DSTATIC=""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment