]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/DevicePath/GNUmakefile
Basetools: turn off gcc12 warning
[mirror_edk2.git] / BaseTools / Source / C / DevicePath / GNUmakefile
index 7ca08af9662d50a43745547329bb7dc5613d4356..b05d2bddfa68c977dadcb50545095f5da26c94db 100644 (file)
@@ -13,6 +13,9 @@ OBJECTS = DevicePath.o UefiDevicePathLib.o DevicePathFromText.o  DevicePathUtili
 \r
 include $(MAKEROOT)/Makefiles/app.makefile\r
 \r
 \r
 include $(MAKEROOT)/Makefiles/app.makefile\r
 \r
+# gcc 12 trips over device path handling\r
+BUILD_CFLAGS += -Wno-error=stringop-overflow\r
+\r
 LIBS = -lCommon\r
 ifeq ($(CYGWIN), CYGWIN)\r
   LIBS += -L/lib/e2fsprogs -luuid\r
 LIBS = -lCommon\r
 ifeq ($(CYGWIN), CYGWIN)\r
   LIBS += -L/lib/e2fsprogs -luuid\r