summaryrefslogtreecommitdiff
path: root/remove-Werror.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-31 01:13:03 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-31 01:13:03 +0000
commit50221481d448ba0feed2086aa6ba40175678dbf1 (patch)
treee0cea56aa137655228e0062f6a20879106d1abb5 /remove-Werror.patch
parent516cf6e779a82b69df1174f79214a58cd0e59834 (diff)
automatic import of LZMA-SDKopeneuler24.03_LTS
Diffstat (limited to 'remove-Werror.patch')
-rw-r--r--remove-Werror.patch35
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 \