mk: use extra cflags when linking with compiler
authorJohn Jacques <john.jacques@intel.com>
Tue, 25 Apr 2017 16:10:47 +0000 (11:10 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 30 Apr 2017 19:53:14 +0000 (21:53 +0200)
commite8fbb6d9cfd976d55e1d67c1c808bf9e5abffa62
treec407a0696819f3d3b8dcc54db8f4c36625b55299
parent586ec205bcbbb0a0aeecdfbc1b94741b98b04b09
mk: use extra cflags when linking with compiler

When using the compiler to link applications, include EXTRA_CFLAGS. This
is needed, for example, when cross-compiling, to pass --sysroot.
GCC cross-compilers built with Yocto don't use the --with-sysroot option,
making it necessary to pass --sysroot command-line option.

Signed-off-by: John Jacques <john.jacques@intel.com>
Signed-off-by: Gage Eads <gage.eads@intel.com>
mk/rte.app.mk