]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/test/build/Jamfile.v2
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / test / build / Jamfile.v2
index 0665f3fd1d2cbbcf72a7612f86c068a893d82b6d..092e01931a42eb552b119dd11f09aff6e5324af4 100644 (file)
@@ -4,6 +4,10 @@
 #
 #  See http://www.boost.org/libs/test for the library home page.
 
+import ../../predef/check/predef
+    : check 
+    : predef-check ;
+
 project boost/test
     : source-location ../src
     : requirements <link>shared:<define>BOOST_TEST_DYN_LINK=1
@@ -12,7 +16,7 @@ project boost/test
                    <link>shared,<toolset>msvc:<cxxflags>-wd4275
                    <toolset>msvc:<cxxflags>-wd4671
                    <toolset>msvc:<cxxflags>-wd4673
-                   <toolset>gcc:<cxxflags>-Wno-variadic-macros
+                   [ predef-check "BOOST_COMP_GNUC >= 4.3.0" : : <cxxflags>-Wno-variadic-macros ]
                    <toolset>clang:<cxxflags>-Wno-c99-extensions
                    <toolset>clang:<cxxflags>-Wno-variadic-macros
                    <warnings>all