summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2012-05-20 16:22:20 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2012-05-20 16:22:20 +0000
commit01b377b5c5c39557f89d8ec0538eeaef9fd8c334 (patch)
tree76bdaac5fc76907f8d13421f7772c0dcfccab0a6 /audio
parentAdd Russian, Canadian and French sounds. (diff)
Fix the build with clang.
PR: ports/167957 Submitted by: Alan Hicks <ahicks@p-o.co.uk>
Notes
Notes: svn path=/head/; revision=297034
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 5e710e8b1c3b..6de0e2da012d 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -42,6 +42,10 @@ CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
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 \