aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-27 13:12:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-27 13:12:18 +0200
commitc8e97ed801b6e781055d539550577640b2357e59 (patch)
treea87db80465434f3bf7073504d2a17ee46aa2350a /build/root.build
parent453de72591a4bb45d0907b234b9f88272b38f8a1 (diff)
Use compiler class instead of id where appropriate
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/root.build b/build/root.build
index 79a2c0e..7615d73 100644
--- a/build/root.build
+++ b/build/root.build
@@ -16,7 +16,7 @@ c{*}: extension = c
#
using cxx.guess
-cxx.std = ($cxx.id == 'gcc' || $cxx.id == 'clang' ? gnu++98 : 03)
+cxx.std = ($cxx.class == 'gcc' ? gnu++98 : 03)
using cxx