Skip to content

Commit 3cd4e19

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 8a50d38 commit 3cd4e19

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 {
@@ -281,6 +281,7 @@ function of13 {
281281
# Resume the install:
282282
cd $BUILD_DIR/ofsoftswitch13
283283
./boot.sh
284+
sed -i 's/^AM_CFLAGS = -Wstrict-prototypes -Werror$/AM_CFLAGS = -Wstrict-prototypes -Werror -Wno-error=stringop-truncation -Wno-error=format-truncation=/g' Makefile.am
284285
./configure
285286
make
286287
sudo make install

0 commit comments

Comments
 (0)