1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

graphics/mesa-dri: remove ppc64 elfv2 workaround

After https://svnweb.freebsd.org/base?view=revision&revision=355397, base clang can compile mesa on ppc64, so there's no need for this workaround anymore.

No PORTREVISION bump because elfv2 still isn't the default.

Approved by:	zeising (maintainer), mentors (implicit approval)
Differential Revision:	https://reviews.freebsd.org/D22686
This commit is contained in:
Piotr Kubaj 2019-12-05 10:28:10 +00:00
parent 526c371e9c
commit e5ababfaee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519075

View File

@ -86,12 +86,6 @@ BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>=3.9.0_4:devel/llvm${LLVM_DEFAULT}
.if ${COMPONENT} != libs
RUN_DEPENDS+= llvm${LLVM_DEFAULT}>=3.9.0_4:devel/llvm${LLVM_DEFAULT}
.endif
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
CFLAGS+= -mabi=elfv2
CXXFLAGS+= -mabi=elfv2
CONFIGURE_ENV+= CC=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \
CXX=${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
.endif
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib
CONFIGURE_ARGS+= --enable-llvm