diff options
author | Joe Stringer <joestringer@nicira.com> | 2015-05-07 13:36:43 -0700 |
---|---|---|
committer | Joe Stringer <joestringer@nicira.com> | 2015-05-08 09:49:07 -0700 |
commit | 37ec7b365631bf4a8951b7567e7fb94aba80066a (patch) | |
tree | 238b966f32787950a542e60eac97efdde650dce8 /.travis | |
parent | caa63627b5d885f1008142cf75fdfa97314df0b5 (diff) | |
download | openvswitch-37ec7b365631bf4a8951b7567e7fb94aba80066a.tar.gz |
travis: Fix clang build for DPDK-2.0.
-Wno-cast-align is a CFLAG, not a configure option.
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/build.sh b/.travis/build.sh index c7796e13b..6dfc9fe14 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -74,7 +74,7 @@ if [ "$DPDK" ]; then install_dpdk $DPDK_VER if [ "$CC" = "clang" ]; then # Disregard cast alignment errors until DPDK is fixed - EXTRA_OPTS="$EXTRA_OPTS -Wno-cast-align" + CFLAGS="$CFLAGS -Wno-cast-align" fi EXTRA_OPTS="$EXTRA_OPTS --with-dpdk=./dpdk-$DPDK_VER/build" elif [ "$CC" != "clang" ]; then |