]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/header.makefile: remove "-c" from BUILD_CFLAGS
authorLaszlo Ersek <lersek@redhat.com>
Wed, 25 Jul 2018 20:40:09 +0000 (22:40 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 16 Aug 2018 18:18:49 +0000 (20:18 +0200)
commit03252ae287c4a61983b3793ff71baeabe2ff3df7
tree11b3df4c594c3ec56ed8bf361e6a4f79f078ffc7
parent67983484a4430c5f82bb5f1397e010c759136321
BaseTools/header.makefile: remove "-c" from BUILD_CFLAGS

Option "-c" is a mode selection flag (choosing between compiling and
linking); it should not be in BUILD_CFLAGS, which applies only to
compiling anyway. The compilation rule for C source files, in
"footer.makefile", already includes "-c" -- currently we have double "-c"
options.

This patch doesn't change behavior.

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