diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-07 16:01:05 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-10 13:36:35 -0700 |
commit | 0dc88487ddcaf85755465e9ae8f37f2a358db544 (patch) | |
tree | ede2ca20412da46bec8cb0981623c30c90e86f73 /test cases | |
parent | d3a1994031992c0952abed94cc3c9f4cf274d4de (diff) | |
download | meson-0dc88487ddcaf85755465e9ae8f37f2a358db544.zip meson-0dc88487ddcaf85755465e9ae8f37f2a358db544.tar.gz meson-0dc88487ddcaf85755465e9ae8f37f2a358db544.tar.bz2 |
tests/fortran/1: call compiler.get_id() == str instead of compiler == str
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/fortran/1 basic/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/fortran/1 basic/meson.build b/test cases/fortran/1 basic/meson.build index 042902f..959ad35 100644 --- a/test cases/fortran/1 basic/meson.build +++ b/test cases/fortran/1 basic/meson.build @@ -1,7 +1,7 @@ project('simple fortran', 'fortran') fc = meson.get_compiler('fortran') -if fc == 'gcc' +if fc.get_id() == 'gcc' add_global_arguments('-fbounds-check', language : 'fortran') endif |