Branch: basetools_gcc8

Once these patches are applied to the build flags and the source code of
the build utilities themselves, OVMF builds fine with gcc-8, using the
GCC5 toolchain settings without any changes.

Regression-tested with gcc-4.8 / x86_64.

Cc: Ard Biesheuvel <>
Cc: Cole Robinson <>
Cc: Liming Gao <>
Cc: Paolo Bonzini <>
Cc: Yonghong Zhu <>


Laszlo Ersek (3):
  BaseTools/header.makefile: add "-Wno-stringop-truncation"
  BaseTools/header.makefile: add "-Wno-restrict"
  BaseTools/GenVtf: silence false "stringop-overflow" warning with

 BaseTools/Source/C/Makefiles/header.makefile | 4 ++--
 BaseTools/Source/C/GenVtf/GenVtf.c           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


edk2-devel mailing list

Reply via email to