On 1 June 2017 at 23:56, Jordan Justen <[email protected]> wrote:
A commit log would be nice > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Justen <[email protected]> > Cc: Laszlo Ersek <[email protected]> > Cc: Ard Biesheuvel <[email protected]> > --- > EmulatorPkg/Unix/Host/Host.inf | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/EmulatorPkg/Unix/Host/Host.inf b/EmulatorPkg/Unix/Host/Host.inf > index d83857a1fd..33990fc20e 100644 > --- a/EmulatorPkg/Unix/Host/Host.inf > +++ b/EmulatorPkg/Unix/Host/Host.inf > @@ -122,6 +122,7 @@ > GCC:*_*_IA32_ASM_FLAGS == -m32 -c -x assembler -imacros > $(DEST_DIR_DEBUG)/AutoGen.h > > GCC:*_*_X64_DLINK_FLAGS == -o $(BIN_DIR)/Host -m64 -L/usr/X11R6/lib > + GCC:*_GCC5_X64_DLINK_FLAGS == -flto -o $(BIN_DIR)/Host -m64 > -L/usr/X11R6/lib > GCC:*_*_X64_CC_FLAGS == -m64 -g -fshort-wchar -fno-strict-aliasing -Wall > -malign-double -idirafter/usr/include -c -include $(DEST_DIR_DEBUG)/AutoGen.h > -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings > GCC:*_GCC44_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" > GCC:*_GCC45_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" > @@ -129,6 +130,7 @@ > GCC:*_GCC47_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" > GCC:*_GCC48_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" > GCC:*_GCC49_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" > + GCC:*_GCC5_X64_CC_FLAGS = "-DEFIAPI=__attribute__((ms_abi))" -flto > -DUSING_LTO -Os Single = is additive, so is it necessary to add the -Os as well? > GCC:*_*_X64_PP_FLAGS == -m64 -E -x assembler-with-cpp -include > $(DEST_DIR_DEBUG)/AutoGen.h > GCC:*_*_X64_ASM_FLAGS == -m64 -c -x assembler -imacros > $(DEST_DIR_DEBUG)/AutoGen.h > > -- > 2.11.0 > _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

