pulseaudio patch for Makefile to enable building with clang
Alan Hicks
alan at p-o.co.uk
Tue May 15 18:43:02 UTC 2012
I've been able to build pulseaudio with clang using the attached patch
and thus far it appears to be working ok on 9.0-RELEASE i386.
Hope it's of use,
Alan
-------------- next part --------------
--- Makefile.bak 2012-05-15 13:44:49.000000000 +0100
+++ Makefile 2012-05-15 17:52:56.000000000 +0100
@@ -42,6 +42,10 @@
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.if ${CC} == clang
+CFLAGS+= -fheinous-gnu-extensions
+.endif
+
CONFIGURE_ARGS= --localstatedir=/var \
--with-database=gdbm \
--without-caps \
More information about the freebsd-ports
mailing list