]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Source/C: take EXTRA_LDFLAGS from the caller
authorLaszlo Ersek <lersek@redhat.com>
Wed, 25 Jul 2018 23:24:40 +0000 (01:24 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 16 Aug 2018 18:18:57 +0000 (20:18 +0200)
commit81502cee20ac4046f08bb4aec754c7091c8808dc
tree361a7419d4278e7b233bb1e70ae89dc8e45ad795
parentb0ca5dae78ff71397a8ef568f1914da7668ff5a9
BaseTools/Source/C: take EXTRA_LDFLAGS from the caller

Allow the caller of the top-level makefile either to set EXTRA_LDFLAGS in
the environment or to pass EXTRA_LDFLAGS as a macro definition on the
command line. EXTRA_LDFLAGS extends (and potentially overrides) default
link-editing flags set in the makefiles.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1540244
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/Makefiles/header.makefile