Skip to content

Commit

Permalink
don't define GLIBCXX_USE_C99_FP_MACROS_DYNAMIC=1 for clang on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
dbj committed Sep 15, 2013
1 parent 83c8062 commit 6b94bdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x11/qt4-libs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.93 2013/09/02 19:51:32 adam Exp $
# $NetBSD: Makefile,v 1.94 2013/09/15 17:35:38 dbj Exp $

PKGNAME= qt4-libs-${QTVERSION}
PKGREVISION= 1
Expand Down Expand Up @@ -29,8 +29,10 @@ CONFIGURE_ARGS+= -openssl-linked
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11 -Wno-c++11-narrowing
.if empty(MACHINE_PLATFORM:MDarwin-*-*)
CXXFLAGS+= -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC=1
.endif
.endif

INSTALLATION_DIRS= lib/pkgconfig
INSTALLATION_DIRS+= ${QTPREFIX}/bin
Expand Down

0 comments on commit 6b94bdc

Please sign in to comment.