From 4828c817a6d7d0a2af2220e0969e3a7d43aec974 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Sep 2016 06:14:54 +0200 Subject: Disable pragma warning for icc --- bpkg/buildfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpkg/buildfile') 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'"' -- cgit v1.1