Skip to content
  • Rafal Babski's avatar
    MSP430 runtime - fix error with unrecognized option -z · 95dfed04
    Rafal Babski authored
    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.
    95dfed04