Changeset 18969ce in mainline


Ignore:
Timestamp:
2020-06-05T14:27:29Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc69b5c
Parents:
f5a7773d
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2020-06-05 14:25:12)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2020-06-05 14:27:29)
Message:

Fix —gc-sections with current Meson

Meson started adding —fatal-warnings to its argument checking
invocation, which means it now incorrectly establishes all
linker options to be unsupported. Fixed by not using the detection
functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • meson/part/compiler_args/meson.build

    rf5a7773d r18969ce  
    3939
    4040add_project_link_arguments(
    41         cc.get_supported_link_arguments([
    42                 '-Wl,--gc-sections',
    43                 '-Wl,--warn-common',
    44         ]),
     41        '-Wl,--gc-sections',
     42        '-Wl,--warn-common',
    4543        '-Wl,--fatal-warnings',
    4644        language : [ 'c', 'cpp' ],
Note: See TracChangeset for help on using the changeset viewer.