diff options
Diffstat (limited to 'remove-Werror.patch')
-rw-r--r-- | remove-Werror.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/remove-Werror.patch b/remove-Werror.patch new file mode 100644 index 0000000..5ece0e1 --- /dev/null +++ b/remove-Werror.patch @@ -0,0 +1,35 @@ +diff -urN lzma2301/C/7zip_gcc_c.mak lzma2301.new/C/7zip_gcc_c.mak +--- lzma2301/C/7zip_gcc_c.mak 2023-05-03 21:00:00.000000000 +0800 ++++ lzma2301.new/C/7zip_gcc_c.mak 2023-09-01 12:09:49.814715435 +0800 +@@ -14,7 +14,7 @@ + PROGPATH_STATIC = $(O)/$(PROG)s
+
+ ifneq ($(CC), xlc)
+-CFLAGS_WARN_WALL = -Wall -Werror -Wextra
++CFLAGS_WARN_WALL = -Wall -Wextra
+ endif
+
+ # for object file
+diff -urN lzma2301/CPP/7zip/7zip_gcc.mak lzma2301.new/CPP/7zip/7zip_gcc.mak +--- lzma2301/CPP/7zip/7zip_gcc.mak 2023-05-03 21:00:00.000000000 +0800 ++++ lzma2301.new/CPP/7zip/7zip_gcc.mak 2023-09-01 12:10:26.934926776 +0800 +@@ -24,7 +24,7 @@ +
+
+ ifneq ($(CC), xlc)
+-CFLAGS_WARN_WALL = -Werror -Wall -Wextra
++CFLAGS_WARN_WALL = -Wall -Wextra
+ endif
+
+ # for object file
+diff -urN lzma2301/CPP/Build.mak lzma2301.new/CPP/Build.mak +--- lzma2301/CPP/Build.mak 2023-05-01 18:00:00.000000000 +0800 ++++ lzma2301.new/CPP/Build.mak 2023-09-01 12:10:07.110813908 +0800 +@@ -67,7 +67,6 @@ + !IF "$(CC)" == "clang-cl"
+
+ CFLAGS = $(CFLAGS) \
+- -Werror \
+ -Wall \
+ -Wextra \
+ -Weverything \
|