summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/compilers/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index 91a1f04ab..bfcb924f9 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -733,7 +733,7 @@ class IntelCPPCompiler(IntelGnuLikeCompiler, CPPCompiler):
if eh == 'none':
args.append('-fno-exceptions')
- if rtti:
+ if not rtti:
args.append('-fno-rtti')
if debugstl:
args.append('-D_GLIBCXX_DEBUG=1')