drop superfluous flags auto/th/mupdf-1.18.0-1
authorJan Palus <atler@pld-linux.org>
Sun, 18 Jul 2021 19:26:29 +0000 (21:26 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 18 Jul 2021 19:26:29 +0000 (21:26 +0200)
mupdf-flags.patch [new file with mode: 0644]
mupdf.spec

diff --git a/mupdf-flags.patch b/mupdf-flags.patch
new file mode 100644 (file)
index 0000000..5f70682
--- /dev/null
@@ -0,0 +1,13 @@
+--- mupdf-1.18.0-source/Makerules.orig 2020-10-07 12:35:03.000000000 +0200
++++ mupdf-1.18.0-source/Makerules      2021-07-18 20:55:06.667136139 +0200
+@@ -40,8 +40,8 @@
+   CFLAGS += -pipe -g
+   LDFLAGS += -g
+ else ifeq ($(build),release)
+-  CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
+-  LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
++  CFLAGS += -DNDEBUG
++  LDFLAGS += $(LDREMOVEUNREACH)
+ else ifeq ($(build),small)
+   CFLAGS += -pipe -Os -DNDEBUG -fomit-frame-pointer
+   LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
index 1d95cc3ef23fff3ce53f0fd8888b2e7c8c77e9c4..bae605a8e3050cd809aeda7a96dea772ce8f81e5 100644 (file)
@@ -8,6 +8,7 @@ Group:          Applications/Text
 Source0:       https://www.mupdf.com/downloads/archive/%{name}-%{version}-source.tar.gz
 # Source0-md5: 6f42be1365350f05270f8776517a3872
 Patch0:                %{name}-soname.patch
+Patch1:                %{name}-flags.patch
 URL:           https://www.mupdf.com/
 BuildRequires: OpenGL-glut-devel
 BuildRequires: curl-devel >= 7.66.0
@@ -92,6 +93,7 @@ Statyczne biblioteki MuPDF.
 %prep
 %setup -q -n %{name}-%{version}-source
 %patch0 -p1
+%patch1 -p1
 
 # use system libs instead:
 # curl 7.66.0
This page took 0.099036 seconds and 4 git commands to generate.