Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143041165
D22274.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
693 B
Referenced Files
None
Subscribers
None
D22274.diff
View Options
Index: head/graphics/mesa-dri/Makefile.common
===================================================================
--- head/graphics/mesa-dri/Makefile.common
+++ head/graphics/mesa-dri/Makefile.common
@@ -86,6 +86,12 @@
.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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 26, 11:03 AM (12 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28024052
Default Alt Text
D22274.diff (693 B)
Attached To
Mode
D22274: graphics/mesa-dri: fix build on powerpc64 elfv2
Attached
Detach File
Event Timeline
Log In to Comment