summarylogtreecommitdiffstats
path: root/0001-avbin-remove-unwanted-optimization.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-avbin-remove-unwanted-optimization.patch')
-rw-r--r--0001-avbin-remove-unwanted-optimization.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-avbin-remove-unwanted-optimization.patch b/0001-avbin-remove-unwanted-optimization.patch
new file mode 100644
index 00000000000..da283151dd0
--- /dev/null
+++ b/0001-avbin-remove-unwanted-optimization.patch
@@ -0,0 +1,24 @@
+diff -Naurp a/linux-x86-32.Makefile b/linux-x86-32.Makefile
+--- a/linux-x86-32.Makefile 2019-04-28 20:25:40.000000000 +0000
++++ b/linux-x86-32.Makefile 2019-04-28 20:32:41.972095497 +0000
+@@ -1,7 +1,7 @@
+ SONAME=libavbin.so.$(AVBIN_VERSION)
+ LIBNAME=$(OUTDIR)/$(SONAME)
+
+-CFLAGS += -fPIC -O3
++CFLAGS += -fPIC
+ LDFLAGS += -shared -soname $(SONAME) -zmuldefs
+
+ STATIC_LIBS = -whole-archive \
+diff -Naurp a/linux-x86-64.Makefile b/linux-x86-64.Makefile
+--- a/linux-x86-64.Makefile 2019-04-28 20:25:40.000000000 +0000
++++ b/linux-x86-64.Makefile 2019-04-28 20:32:47.072032317 +0000
+@@ -1,7 +1,7 @@
+ SONAME=libavbin.so.$(AVBIN_VERSION)
+ LIBNAME=$(OUTDIR)/$(SONAME)
+
+-CFLAGS += -fPIC -O3
++CFLAGS += -fPIC
+ LDFLAGS += -shared -soname $(SONAME) -Bsymbolic -zmuldefs
+
+ STATIC_LIBS = -whole-archive \