aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'"'