[ovs-git] [openvswitch/ovs] 956263: build: Respect CFLAGS and LDFLAGS passed to make
GitHub
noreply at github.com
Thu Sep 11 19:48:35 UTC 2014
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 95626395a3dbd91b69af80207d79b3ecab7643c9
https://github.com/openvswitch/ovs/commit/95626395a3dbd91b69af80207d79b3ecab7643c9
Author: Thomas Graf <tgraf at noironetworks.com>
Date: 2014-09-11 (Thu, 11 Sep 2014)
Changed paths:
M Makefile.am
M acinclude.m4
M configure.ac
M m4/openvswitch.m4
Log Message:
-----------
build: Respect CFLAGS and LDFLAGS passed to make
configure cannot expect that the user will not pass additional CFLAGS
and LDFLAGS at make time [0]. Use OVS_CFLAGS and OVS_LDFLAGS instead to
collect compiler and linker flags and substitute in Makefile.am.
This allows for:
./configure --with-dpdk=[...]
make CFLAGS=-Wno-error=foo
[0] http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Commit: ecc3c395b5a60af466e573ad8e53619f8d2eec76
https://github.com/openvswitch/ovs/commit/ecc3c395b5a60af466e573ad8e53619f8d2eec76
Author: Thomas Graf <tgraf at noironetworks.com>
Date: 2014-09-11 (Thu, 11 Sep 2014)
Changed paths:
M .travis.yml
M .travis/build.sh
Log Message:
-----------
travis: Fix DPDK build and treat bad-function-cast warning as non-error
A missing " prevented the DPDK build in the matrix from functioning
so far. This patch enables the DPDK build by properly building DPDK
as a single library and by pointing the OVS build to the corresponding
build directory. Also removes the 'make install' as it is not required
and only slows down the build.
Due to incorrect casts in the DPDK headers, we have to disable
bad-function-cast and cast-align warnings as being treated as errors
for now.
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Co-authored-by: Daniele Di Proietto <ddiproietto at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Compare: https://github.com/openvswitch/ovs/compare/648cef14dd67...ecc3c395b5a6
More information about the git
mailing list