e68804a855
-mupdf-no-strip.patch: fix debuginfo generation - Remove xorg-x11-devel from buildrequires OBS-URL: https://build.opensuse.org/request/show/576835 OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=75
16 lines
557 B
Diff
16 lines
557 B
Diff
Index: mupdf-1.12.0-source/Makerules
|
|
===================================================================
|
|
--- mupdf-1.12.0-source.orig/Makerules
|
|
+++ mupdf-1.12.0-source/Makerules
|
|
@@ -25,8 +25,8 @@ ifeq "$(build)" "debug"
|
|
CFLAGS += -pipe -g
|
|
LDFLAGS += -g
|
|
else ifeq "$(build)" "release"
|
|
-CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
|
|
-LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
|
|
+CFLAGS += -pipe -O2 -DNDEBUG
|
|
+LDFLAGS += $(LDREMOVEUNREACH)
|
|
else ifeq "$(build)" "small"
|
|
CFLAGS += -pipe -Os -DNDEBUG -fomit-frame-pointer
|
|
LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
|