$NetBSD: patch-ag,v 1.2 2013/03/31 08:31:49 sbd Exp $

--- librtunes/GNUmakefile.orig	2006-05-21 18:03:08.000000000 +0000
+++ librtunes/GNUmakefile
@@ -1,4 +1,5 @@
 CCFLAGS = -O2 -pipe -Wall -Wstrict-prototypes -c
+CCFLAGS += ${CFLAGS} ${LDFLAGS}
 RT = ../rtunes
 LB = ../libbsd
 
@@ -6,7 +7,7 @@ librtunes.a:	rtunes.o ${RT}/cipher.o ${R
 		ar -r librtunes.a rtunes.o ${RT}/cipher.o ${RT}/mp4.o ${RT}/rtsp.o ${RT}/sys.o ${LB}/arc4random.o ${LB}/strlcat.o ${LB}/strlcpy.o
 
 rtunes.o:	rtunes.c
-		cc ${CCFLAGS} rtunes.c
+		${CC}  ${CCFLAGS} rtunes.c
 
 clean:
 		rm -f librtunes.a *.o
