]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Source/C: take EXTRA_OPTFLAGS from the caller
authorLaszlo Ersek <lersek@redhat.com>
Wed, 25 Jul 2018 22:04:26 +0000 (00:04 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 16 Aug 2018 18:18:49 +0000 (20:18 +0200)
commitb0ca5dae78ff71397a8ef568f1914da7668ff5a9
treec8af1458bec722f1010868fc96c57ff28674d5ee
parentb8a66170264395edeaa61e6d22930a58e576a685
BaseTools/Source/C: take EXTRA_OPTFLAGS from the caller

Allow the caller of the top-level makefile either to set EXTRA_OPTFLAGS in
the environment or to pass EXTRA_OPTFLAGS as a macro definition on the
command line. EXTRA_OPTFLAGS extends (and potentially overrides) default C
compilation 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