aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-07 16:01:05 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-10 13:36:35 -0700
commit0dc88487ddcaf85755465e9ae8f37f2a358db544 (patch)
treeede2ca20412da46bec8cb0981623c30c90e86f73 /test cases
parentd3a1994031992c0952abed94cc3c9f4cf274d4de (diff)
downloadmeson-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.build2
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