void-packages/srcpkgs/boost/patches/json-test.patch

29 lines
822 B
Diff

Index: boost-1.81.0/libs/json/Jamfile
===================================================================
--- boost-1.81.0.orig/libs/json/Jamfile
+++ boost-1.81.0/libs/json/Jamfile
@@ -9,7 +9,6 @@
import feature ;
-build-project bench ;
build-project test ;
build-project fuzzing ;
build-project example ;
Index: boost-1.81.0/libs/json/test/Jamfile
===================================================================
--- boost-1.81.0.orig/libs/json/test/Jamfile
+++ boost-1.81.0/libs/json/test/Jamfile
@@ -60,7 +60,10 @@ project : requirements <include>. ;
for local f in $(SOURCES)
{
- run $(f) main.cpp /boost/json//boost_json ;
+ run $(f) main.cpp /boost/json//boost_json
+ : requirements
+ <cxxflags>-fno-var-tracking-assignments
+ ;
}
run limits.cpp main.cpp /boost/json//json_sources