Merge pull request #3203 from jukkalaurila/bug3185
Fix bug 3185, "Setting -Dc_args=... option and some others during initial run fails silently'pull/3214/head
commit
407b6dfc29
3 changed files with 24 additions and 0 deletions
@ -0,0 +1,7 @@ |
||||
project('options', 'c') |
||||
|
||||
# Test passing c_args and c_link_args options from the command line. |
||||
assert(get_option('c_args') == ['-march=native', '-funroll-loops'], |
||||
'Incorrect value for c_args option.') |
||||
assert(get_option('c_link_args') == ['-random_linker_option'], |
||||
'Incorrect value for c_link_args option.') |
@ -0,0 +1,4 @@ |
||||
# This file is not read by meson itself, but by the test framework. |
||||
# It is not possible to pass arguments to meson from a file. |
||||
['-Dc_args=-march=native', '-Dc_args=-funroll-loops', |
||||
'-Dc_link_args=-random_linker_option'] |
Loading…
Reference in new issue