mirror of https://github.com/acidanthera/audk.git
BaseTools/tools_def.template: remove GCC47 leaf definitions
Remove the "leaf" definitions for GCC47. These definitions are never referenced in "tools_def.template" (they are the last GCC47 mentions in the file), so their removal can't break other definitions. Instead, their erasure turns other definitions into leaves (subject to further removal). Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
9bbf156faa
commit
3c5613c593
|
@ -4566,82 +4566,6 @@ RELEASE_GCC46_IA32_CC_FLAGS = DEF(GCC46_IA32_CC_FLAGS) -Os -Wno-unused-but
|
|||
RELEASE_GCC46_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
|
||||
NOOPT_GCC46_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS) -O0
|
||||
|
||||
####################################################################################
|
||||
#
|
||||
# GCC 4.7 - This configuration is used to compile under Linux to produce
|
||||
# PE/COFF binaries using GCC 4.7.
|
||||
#
|
||||
####################################################################################
|
||||
*_GCC47_*_*_FAMILY = GCC
|
||||
|
||||
*_GCC47_*_MAKE_PATH = DEF(GCC_HOST_PREFIX)make
|
||||
*_GCC47_*_*_DLL = ENV(GCC47_DLL)
|
||||
*_GCC47_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
||||
|
||||
*_GCC47_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
||||
*_GCC47_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
|
||||
*_GCC47_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
||||
*_GCC47_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
|
||||
*_GCC47_*_APP_FLAGS =
|
||||
*_GCC47_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
||||
*_GCC47_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
||||
|
||||
##################
|
||||
# GCC47 IA32 definitions
|
||||
##################
|
||||
*_GCC47_IA32_OBJCOPY_PATH = DEF(GCC47_IA32_PREFIX)objcopy
|
||||
*_GCC47_IA32_CC_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_SLINK_PATH = DEF(GCC47_IA32_PREFIX)ar
|
||||
*_GCC47_IA32_DLINK_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_ASLDLINK_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_ASM_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_PP_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_VFRPP_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_ASLCC_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_ASLPP_PATH = DEF(GCC47_IA32_PREFIX)gcc
|
||||
*_GCC47_IA32_RC_PATH = DEF(GCC47_IA32_PREFIX)objcopy
|
||||
|
||||
*_GCC47_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32
|
||||
*_GCC47_IA32_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
|
||||
*_GCC47_IA32_ASM_FLAGS = DEF(GCC47_ASM_FLAGS) -m32 -march=i386
|
||||
*_GCC47_IA32_DLINK_FLAGS = DEF(GCC47_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
|
||||
*_GCC47_IA32_DLINK2_FLAGS = DEF(GCC47_IA32_DLINK2_FLAGS)
|
||||
*_GCC47_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
||||
*_GCC47_IA32_OBJCOPY_FLAGS =
|
||||
*_GCC47_IA32_NASM_FLAGS = -f elf32
|
||||
|
||||
DEBUG_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -Os
|
||||
RELEASE_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
|
||||
NOOPT_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -O0
|
||||
|
||||
##################
|
||||
# GCC47 X64 definitions
|
||||
##################
|
||||
*_GCC47_X64_OBJCOPY_PATH = DEF(GCC47_X64_PREFIX)objcopy
|
||||
*_GCC47_X64_CC_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_SLINK_PATH = DEF(GCC47_X64_PREFIX)ar
|
||||
*_GCC47_X64_DLINK_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_ASLDLINK_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_ASM_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_PP_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_VFRPP_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_ASLCC_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_ASLPP_PATH = DEF(GCC47_X64_PREFIX)gcc
|
||||
*_GCC47_X64_RC_PATH = DEF(GCC47_X64_PREFIX)objcopy
|
||||
|
||||
*_GCC47_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64
|
||||
*_GCC47_X64_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
|
||||
*_GCC47_X64_ASM_FLAGS = DEF(GCC47_ASM_FLAGS) -m64
|
||||
*_GCC47_X64_DLINK_FLAGS = DEF(GCC47_X64_DLINK_FLAGS)
|
||||
*_GCC47_X64_DLINK2_FLAGS = DEF(GCC47_X64_DLINK2_FLAGS)
|
||||
*_GCC47_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
||||
*_GCC47_X64_OBJCOPY_FLAGS =
|
||||
*_GCC47_X64_NASM_FLAGS = -f elf64
|
||||
|
||||
DEBUG_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS) -Os
|
||||
RELEASE_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
|
||||
NOOPT_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS) -O0
|
||||
|
||||
####################################################################################
|
||||
#
|
||||
# GCC 4.8 - This configuration is used to compile under Linux to produce
|
||||
|
|
Loading…
Reference in New Issue