diff options
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r-- | bpkg/buildfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index edf3412..0db45c6 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -51,9 +51,9 @@ hxx{version}: in{version} $src_root/file{manifest} # Disable "unknown pragma" warnings. # -if ($cxx.id == "msvc") +if ($cxx.class == 'msvc') cxx.coptions += /wd4068 -else +elif ($cxx.class == 'gcc') cxx.coptions += -Wno-unknown-pragmas obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"' |