Skip to content

Commit 8127a1e

Browse files
committed
Fix ofsoftswitch13 compilation and pin the commit
Currently the make step of the ofsoftswitch13 master fails. Until CPqD/ofsoftswitch13#313 is merged, this will fix the compilation.
1 parent 1e0866f commit 8127a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ OVS_BUILDSUFFIX=-ignore # was -2
143143
OVS_PACKAGE_NAME=ovs-$OVS_RELEASE-core-$DIST_LC-$RELEASE-$ARCH$OVS_BUILDSUFFIX.tar
144144
OVS_TAG=v$OVS_RELEASE
145145

146-
OF13_SWITCH_REV=${OF13_SWITCH_REV:-""}
146+
OF13_SWITCH_REV=${OF13_SWITCH_REV:-"aaebdbce3dae0f3d9af62f059e3ec5a2813469c4"}
147147

148148

149149
function kernel {
@@ -290,6 +290,7 @@ function of13 {
290290
# Resume the install:
291291
cd $BUILD_DIR/ofsoftswitch13
292292
./boot.sh
293+
sed -i 's/^AM_CFLAGS = -Wstrict-prototypes -Werror$/AM_CFLAGS = -Wstrict-prototypes -Werror -Wno-error=stringop-truncation -Wno-error=format-truncation=/g' Makefile.am
293294
./configure
294295
make
295296
sudo make install

0 commit comments

Comments
 (0)