From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-misc/wmname/files/wmname-0.1-buildsystem.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 x11-misc/wmname/files/wmname-0.1-buildsystem.patch (limited to 'x11-misc/wmname/files') diff --git a/x11-misc/wmname/files/wmname-0.1-buildsystem.patch b/x11-misc/wmname/files/wmname-0.1-buildsystem.patch new file mode 100644 index 000000000000..bee2131d9bef --- /dev/null +++ b/x11-misc/wmname/files/wmname-0.1-buildsystem.patch @@ -0,0 +1,26 @@ +--- wmname-0.1/config.mk ++++ wmname-0.1/config.mk +@@ -16,9 +16,9 @@ + + # flags + CPPFLAGS = -DVERSION=\"${VERSION}\" +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +-LDFLAGS = -s ${LIBS} ++CFLAGS += -std=c99 -pedantic ${INCS} ${CPPFLAGS} ++LDFLAGS += ${LIBS} + + # compiler and linker +-CC = cc +-LD = ${CC} ++CC ?= cc ++LD ?= ${CC} +--- wmname-0.1/Makefile ++++ wmname-0.1/Makefile +@@ -23,7 +23,6 @@ + wmname: ${OBJ} + @echo LD $@ + @${LD} -o $@ ${OBJ} ${LDFLAGS} +- @strip $@ + + clean: + @echo cleaning -- cgit v1.2.3