libsubcmd: Move EXTRA_FLAGS to the end to allow overriding existing flags
authorJames Clark <James.Clark@arm.com>
Mon, 28 Oct 2019 11:34:01 +0000 (11:34 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Nov 2019 18:49:39 +0000 (15:49 -0300)
commitd894967fcaa469cb4c43544855f6fcc18045d526
tree8837496771a743386fe28dadf233a83c558a69c9
parent50481461cfe937289724643691a752fa15a600c9
libsubcmd: Move EXTRA_FLAGS to the end to allow overriding existing flags

Move EXTRA_WARNINGS and EXTRA_FLAGS to the end of the compilation line,
otherwise they cannot be used to override the default values.

Signed-off-by: James Clark <james.clark@arm.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: nd <nd@arm.com>
Link: http://lore.kernel.org/lkml/20191028113340.4282-1-james.clark@arm.com
[ split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/subcmd/Makefile