Skip to content

Commit cc940c6

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 aa0176f commit cc940c6

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
@@ -134,7 +134,7 @@ OVS_BUILDSUFFIX=-ignore # was -2
134134
OVS_PACKAGE_NAME=ovs-$OVS_RELEASE-core-$DIST_LC-$RELEASE-$ARCH$OVS_BUILDSUFFIX.tar
135135
OVS_TAG=v$OVS_RELEASE
136136

137-
OF13_SWITCH_REV=${OF13_SWITCH_REV:-""}
137+
OF13_SWITCH_REV=${OF13_SWITCH_REV:-"aaebdbce3dae0f3d9af62f059e3ec5a2813469c4"}
138138

139139

140140
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)