[edk2-devel] [PATCH v3 0/3] BaseTools: fix gcc workaround

Gerd Hoffmann kraxel at redhat.com
Mon Apr 4 09:32:26 UTC 2022


The linux kernel has a bunch of useful macros to check whenever a given
compiler supports specific flags.  Import them, adapt them for edk2, then
put them into use to make both gcc5 and gcc12 work for BaseTools.

Gerd Hoffmann (3):
  BaseTools: import compiler check macros from linux kernel
  BaseTools: adapt comniler checks mmacros for edk2
  BaseTools: fix gcc workaround

 BaseTools/Source/C/DevicePath/GNUmakefile     |  3 +-
 .../Source/C/Makefiles/compiler.makefile      | 76 +++++++++++++++++++
 2 files changed, 78 insertions(+), 1 deletion(-)
 create mode 100644 BaseTools/Source/C/Makefiles/compiler.makefile

-- 
2.35.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88405): https://edk2.groups.io/g/devel/message/88405
Mute This Topic: https://groups.io/mt/90237796/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list