view text/scdoc/patch-makefile.patch @ 1195:6f99a368f617

text/scdoc: initial import, closes #2426 While here, add scdoc dependency on projects using it.
author David Demelier <markand@malikania.fr>
date Mon, 28 Oct 2019 21:50:00 +0100
parents
children
line wrap: on
line source

--- Makefile.orig	2019-10-28 17:52:42.041614618 +0100
+++ Makefile	2019-10-28 17:54:45.709618417 +0100
@@ -1,6 +1,6 @@
 VERSION=1.10.0
-CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
-LDFLAGS+=-static
+CFLAGS+=-g -DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter $(EXTRA_CFLAGS)
+LDFLAGS+=$(EXTRA_LDFLAGS)
 INCLUDE+=-Iinclude
 PREFIX?=/usr/local
 _INSTDIR=$(DESTDIR)$(PREFIX)