1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

gecko: drop support for libc++ where it's not default

If it still has an effect the compiler should be fixed instead.
This commit is contained in:
Jan Beich 2015-12-16 09:38:29 +00:00
parent ab9e0736d5
commit 4871dd171f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403853

View File

@ -466,13 +466,9 @@ MOZCONFIG_SED?= ${SED} ${MOZ_SED_ARGS}
USE_BINUTILS= # intel-gcm.s USE_BINUTILS= # intel-gcm.s
CFLAGS+= -B${LOCALBASE}/bin CFLAGS+= -B${LOCALBASE}/bin
LDFLAGS+= -B${LOCALBASE}/bin LDFLAGS+= -B${LOCALBASE}/bin
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000041 && \
exists(/usr/lib/libcxxrt.so) && ${CXXFLAGS:M-stdlib=libc++}
LIBS+= -lcxxrt
. endif
. endif
.elif ${ARCH:Mpowerpc*} .elif ${ARCH:Mpowerpc*}
USES:= compiler:gcc-c++11-lib ${USES:Ncompiler*c++11*} USES:= compiler:gcc-c++11-lib ${USES:Ncompiler*c++11*}
.endif
. if ${ARCH} == "powerpc64" . if ${ARCH} == "powerpc64"
MOZ_EXPORT+= UNAME_m="${ARCH}" MOZ_EXPORT+= UNAME_m="${ARCH}"
CFLAGS+= -mminimal-toc CFLAGS+= -mminimal-toc