aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-01-29 11:13:55 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2019-01-29 22:42:48 +0300
commit161475395cda3ca50861f7ffd0fe73334217c563 (patch)
tree1ddc9e197171f4c79dcc85044ed598381a48d68f /scripts/ci
parent8e398e1f745a1674a2bcca4f39ea8784e5003c0e (diff)
Port 3a9cf94b7 "linux-gen: fix compiling dpdk pktio with Clang"v1.21.0.0_DPDK_17.11
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Diffstat (limited to 'scripts/ci')
-rwxr-xr-xscripts/ci/build_x86_64.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/ci/build_x86_64.sh b/scripts/ci/build_x86_64.sh
index c4dd1f4ea..115c0bf26 100755
--- a/scripts/ci/build_x86_64.sh
+++ b/scripts/ci/build_x86_64.sh
@@ -4,6 +4,7 @@ set -e
export TARGET_ARCH=x86_64-linux-gnu
if [ "${CC#clang}" != "${CC}" ] ; then
export CXX="clang++"
+ sed -i 's/ODP_CHECK_CFLAG(\[\-Wcast-align\])/#ODP_CHECK_CFLAG(\[\-Wcast-align\])/g' /odp/configure.ac
fi
exec "$(dirname "$0")"/build.sh