aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-07 06:14:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-07 06:14:54 +0200
commit4828c817a6d7d0a2af2220e0969e3a7d43aec974 (patch)
tree8b550f45af45ba6f510a75a7990c26d7a3c544f6
parent4f32585510c1ab8a7eca098dfee902a946aefff8 (diff)
Disable pragma warning for icc
-rw-r--r--bpkg/buildfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index f9fcde9..b7ae6f2 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -54,10 +54,12 @@ exe{bpkg}: \
{hxx }{ wrapper-traits } \
$libs
-# Disable VC "unknown pragma" warning.
+# Disable "unknown pragma" warnings.
#
if ($cxx.id == "msvc")
cxx.coptions += /wd4068
+elif ($cxx.id == "icc")
+ cxx.coptions += -Wno-unknown-pragmas
obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"'