void-packages/srcpkgs/flao/patches/config.patch

16 lines
325 B
Diff

--- config.mk.orig 2016-04-29 23:34:15.698113125 +0200
+++ config.mk 2016-04-29 23:34:56.523115232 +0200
@@ -1,9 +1,9 @@
INCS = -I.
LIBS = -lao -lFLAC
-CC = cc
-CFLAGS = -Wall -O2 $(INCS)
-LDFLAGS = -s $(LIBS)
+CC ?= cc
+CFLAGS += -Wall $(INCS)
+LDFLAGS += $(LIBS)
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man