[gs-commits] mupdf 1.16.1.4 Make build=memento work with gcc

[email protected] (Sebastian Rasmussen)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
commit dc91e08c7ea88ffa3ea8b698feb471ce3c5d2ebe
Author: Sebastian Rasmussen <[email protected]>
Date:   Fri Aug 9 03:08:28 2019 +0200

    Make build=memento work with gcc
    
    Why was -d used? gcc -d<letter> is used to enable debug features,
    but there is no trailing letter enabling any specific feature?!

diff --git a/Makerules b/Makerules
index f688c5b..c0f8cb7 100644
--- a/Makerules
+++ b/Makerules
@@ -49,7 +49,7 @@ else ifeq ($(build),native)
   LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
 else ifeq ($(build),memento)
   CFLAGS += -pipe -g -DMEMENTO
-  LDFLAGS += -g -d -rdynamic
+  LDFLAGS += -g -rdynamic
   ifneq ($(HAVE_LIBDL),no)
     CFLAGS += -DHAVE_LIBDL
     LIBS += -ldl

http://git.ghostscript.com/?p=mupdf.git;a=commit;h=dc91e08c7ea88ffa3ea8b698feb471ce3c5d2ebe

--
MuPDF library
Artifex Software, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.