mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
Remove stray defined(__arch64__) to fix build on powerpc64.
PR: 231785 Submitted by: Piotr Kubaj Approved by: maintainer
This commit is contained in:
parent
80799fec52
commit
b79a1674b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485730
@ -27,6 +27,9 @@ CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
PATCHES_powerpc64= ${PATCHDIR}/extra-patch-ffcall-abi.h
|
||||
EXTRA_PATCHES= ${PATCHES_${ARCH}}
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \
|
||||
${STAGEDIR}${PREFIX}/lib/libcallback.so \
|
||||
|
11
devel/libffcall/files/extra-patch-ffcall-abi.h
Normal file
11
devel/libffcall/files/extra-patch-ffcall-abi.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- ffcall-abi.h.orig 2018-11-18 21:47:39 UTC
|
||||
+++ ffcall-abi.h
|
||||
@@ -75,7 +75,7 @@
|
||||
#endif
|
||||
#endif
|
||||
#ifndef __sparc64__
|
||||
-#if defined(__sparcv9) /* GCC/Solaris, Sun C */ || defined(__arch64__) /* GCC/Linux */
|
||||
+#if defined(__sparcv9) /* GCC/Solaris, Sun C */
|
||||
#define __sparc64__ 1
|
||||
#endif
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user