Skip to content

Commit 6ab310b

Browse files
Jamfile: Disable warnings as errors for usrsctp
1 parent 0f00834 commit 6ab310b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jamfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ rule make_libusrsctp ( targets * : sources * : properties * )
103103
}
104104
actions make_libusrsctp
105105
{
106-
(cd $(CWD)/deps/usrsctp && mkdir -p $(BUILD_DIR) && cd $(BUILD_DIR) && cmake -DCMAKE_BUILD_TYPE=$(VARIANT) -DCMAKE_C_FLAGS="-fPIC" -Dsctp_build_shared_lib=0 -Dsctp_build_programs=0 -Dsctp_inet=0 -Dsctp_inet6=0 .. && make -j2 usrsctp)
106+
(cd $(CWD)/deps/usrsctp && mkdir -p $(BUILD_DIR) && cd $(BUILD_DIR) && cmake -DCMAKE_BUILD_TYPE=$(VARIANT) -DCMAKE_C_FLAGS="-fPIC" -Dsctp_werror=0 -Dsctp_build_shared_lib=0 -Dsctp_build_programs=0 -Dsctp_inet=0 -Dsctp_inet6=0 .. && make -j2 usrsctp)
107107
cp $(CWD)/deps/usrsctp/$(BUILD_DIR)/usrsctplib/libusrsctp.a $(<)
108108
}
109109
rule make_libusrsctp_msvc ( targets * : sources * : properties * )
@@ -118,7 +118,7 @@ actions make_libusrsctp_msvc
118118
cd $(CWD)/deps/usrsctp
119119
mkdir $(BUILD_DIR)
120120
cd $(BUILD_DIR)
121-
cmake -G "Visual Studio 16 2019" -Dsctp_build_shared_lib=0 -Dsctp_build_programs=0 ..
121+
cmake -G "Visual Studio 16 2019" -Dsctp_werror=0 -Dsctp_build_shared_lib=0 -Dsctp_build_programs=0 -Dsctp_inet=0 -Dsctp_inet6=0 ..
122122
msbuild usrsctplib.sln /property:Configuration=$(VARIANT)
123123
cd %OLDD%
124124
cp $(CWD)/deps/usrsctp/$(BUILD_DIR)/usrsctplib/Release/usrsctp.lib $(<)

0 commit comments

Comments
 (0)