summaryrefslogtreecommitdiff
path: root/.travis
diff options
context:
space:
mode:
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/build.sh2
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