projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basetools: turn off gcc12 warning
[mirror_edk2.git]
/
BaseTools
/
Source
/
C
/
DevicePath
/
GNUmakefile
diff --git
a/BaseTools/Source/C/DevicePath/GNUmakefile
b/BaseTools/Source/C/DevicePath/GNUmakefile
index 7ca08af9662d50a43745547329bb7dc5613d4356..b05d2bddfa68c977dadcb50545095f5da26c94db 100644
(file)
--- a/
BaseTools/Source/C/DevicePath/GNUmakefile
+++ b/
BaseTools/Source/C/DevicePath/GNUmakefile
@@
-13,6
+13,9
@@
OBJECTS = DevicePath.o UefiDevicePathLib.o DevicePathFromText.o DevicePathUtili
\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