Skip to content
Browse files

Clang to use libc++ for atomic.

  • Loading branch information...
1 parent 37c97a2 commit 7c7943b35cc0136c81f67ef8b7a770c66a538fec nsloss committed Feb 27, 2014
Showing with 7 additions and 0 deletions.
  1. +7 −0 lightspark/Makefile
View
7 lightspark/Makefile
@@ -19,6 +19,13 @@ AUTO_MKDIRS= yes
EGDIR= ${PREFIX}/share/examples/lightspark
CMAKE_ARGS+= -DGNASH_EXE_PATH:STRING="${PREFIX}/bin/gnash"
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+= -stdlib=libc++
+CXXFLAGS+= -std=gnu++11
+.endif
+
post-install:
${MV} ${DESTDIR}${PREFIX}/etc/xdg ${DESTDIR}${EGDIR}; \
${RMDIR} ${DESTDIR}${PREFIX}/etc

0 comments on commit 7c7943b

Please sign in to comment.
Something went wrong with that request. Please try again.