mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +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:
parent
526c371e9c
commit
e5ababfaee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519075
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user