2013-10-27 23:48:20 +01:00
|
|
|
diff -Naur pianobar-2013.09.15-orig/Makefile pianobar-2013.09.15/Makefile
|
|
|
|
--- pianobar-2013.09.15-orig/Makefile 2013-09-15 09:54:04.000000000 -0400
|
|
|
|
+++ pianobar-2013.09.15/Makefile 2013-09-27 23:54:19.406220780 -0400
|
|
|
|
@@ -7,20 +7,7 @@
|
2011-06-04 06:10:23 +02:00
|
|
|
MANDIR:=${PREFIX}/share/man
|
|
|
|
DYNLINK:=0
|
2011-07-19 14:59:56 +02:00
|
|
|
|
|
|
|
-# Respect environment variables set by user; does not work with :=
|
|
|
|
-ifeq (${CFLAGS},)
|
|
|
|
- CFLAGS=-O2 -DNDEBUG
|
|
|
|
-endif
|
|
|
|
-ifeq (${CC},cc)
|
2013-10-27 23:48:20 +01:00
|
|
|
- OS := $(shell uname)
|
|
|
|
- ifeq (${OS},Darwin)
|
|
|
|
- CC=gcc -std=c99
|
|
|
|
- else ifeq (${OS},FreeBSD)
|
|
|
|
- CC=cc -std=c99
|
|
|
|
- else
|
|
|
|
- CC=c99
|
|
|
|
- endif
|
2011-07-19 14:59:56 +02:00
|
|
|
-endif
|
2011-06-04 06:10:23 +02:00
|
|
|
+CFLAGS+=-std=c99 -O2 -DNDEBUG
|
|
|
|
|
2013-10-27 23:48:20 +01:00
|
|
|
PIANOBAR_DIR:=src
|
|
|
|
PIANOBAR_SRC:=\
|