You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fwupdate/SOURCES/0001-MSVSphere-fix-build.patch

26 lines
783 B

1 year ago
From 1c5ffb1458afcb2b9ce12f5767a7f02a64272392 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Thu, 7 Dec 2023 15:33:18 +0300
Subject: [PATCH] MSVSphere fix build
---
linux/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux/Makefile b/linux/Makefile
index 3c5f490..82f706a 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -33,7 +33,7 @@ ifeq ($(HAVE_LIBSMBIOS),yes)
endif
BUILDFLAGS := $(CFLAGS) -Wall -Wextra -Werror -Wno-error=cpp \
-Wno-unused-result -Wno-unused-function \
- -Wsign-compare -Werror=sign-compare \
+ -Wno-error=pointer-sign -Wsign-compare -Werror=sign-compare \
-fshort-wchar --std=gnu11 \
-DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE \
-DFWUP_EFI_DIR_NAME=\"$(EFIDIR)\" \
--
2.39.3