[ovs-dev] [PATCH 1/2] build: Respect CFLAGS and LDFLAGS passed to make

2014-09-11 Thread Thomas Graf
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.

Re: [ovs-dev] [PATCH 1/2] build: Respect CFLAGS and LDFLAGS passed to make

2014-09-11 Thread Ben Pfaff
On Wed, Sep 10, 2014 at 10:33:36PM +0200, Thomas Graf wrote: > configure cannot expect that the user will not pass additional CFLAGS > and LDFLAGS at make time. Use OVS_CFLAGS and OVS_LDFLAGS instead to > collect compiler and linker flags and substitute in Makefile.am. > > This allows for: > ./con

[ovs-dev] [PATCH 1/2] build: Respect CFLAGS and LDFLAGS passed to make

2014-09-10 Thread Thomas Graf
configure cannot expect that the user will not pass additional CFLAGS and LDFLAGS at make time. 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 Signed-off-by: Thoma