On Wed, Nov 26, 2014 at 6:52 AM, Thomas Graf <[email protected]> wrote:
> This allows users to pass in additional compiler flags through the
> environment variable EXTRA_CFLAGS, e.g.
>
>    make EXTRA_CFLAGS=-Wno-error=foo V=1
>
> Reported-by: Alexandru Ardelean <[email protected]>
> Signed-off-by: Thomas Graf <[email protected]>


I pushed the patch master.

Thanks.

> ---
>  datapath/linux/Kbuild.in | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/datapath/linux/Kbuild.in b/datapath/linux/Kbuild.in
> index 6f6f65f..cb98c11 100644
> --- a/datapath/linux/Kbuild.in
> +++ b/datapath/linux/Kbuild.in
> @@ -7,11 +7,11 @@ export VERSION = @VERSION@
>  include $(srcdir)/../Modules.mk
>  include $(srcdir)/Modules.mk
>
> -EXTRA_CFLAGS := -DVERSION=\"$(VERSION)\"
> -EXTRA_CFLAGS += -I$(srcdir)/..
> -EXTRA_CFLAGS += -I$(builddir)/..
> -EXTRA_CFLAGS += -g
> -EXTRA_CFLAGS += -include $(builddir)/kcompat.h
> +ccflags-y := -DVERSION=\"$(VERSION)\"
> +ccflags-y += -I$(srcdir)/..
> +ccflags-y += -I$(builddir)/..
> +ccflags-y += -g
> +ccflags-y += -include $(builddir)/kcompat.h
>
>  # These include directories have to go before -I$(KSRC)/include.
>  # NOSTDINC_FLAGS just happens to be a variable that goes in the
> --
> 1.9.3
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to