FreeBSD Bugzilla – Attachment 210521 Details for
Bug 243180
security/afl: fix build on powerpc64 elfv2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
afl.patch (text/plain), 745 bytes, created by
Piotr Kubaj
on 2020-01-08 09:29:33 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2020-01-08 09:29:33 UTC
Size:
745 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 522324) >+++ Makefile (working copy) >@@ -16,7 +16,7 @@ > > # In theory afl supports other architectures with the LLVM plugin. > # It has to be compiled with AFL_NO_X86=1 in that case. >-ONLY_FOR_ARCHS= amd64 i386 >+ONLY_FOR_ARCHS= amd64 i386 powerpc64 > ONLY_FOR_ARCHS_REASON= Uses binary instrumentation > > USES= gmake tar:tgz >@@ -50,6 +50,10 @@ > # Clang i386 emits .cfi_sections which base as(1) doesn't understand > BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils > RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils >+.elif ${ARCH} == "powerpc64" >+CFLAGS+= -mabi=elfv2 >+LDFLAGS+= -mabi=elfv2 >+MAKE_ARGS+= AFL_NO_X86=1 > .endif > > post-patch:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tobik
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 243180
: 210521