HomeFreeBSD

net/zerotier: build on arm and 10.4 x86/x64 & improve compiler settings

Description

net/zerotier: build on arm and 10.4 x86/x64 & improve compiler settings

Submitted by: Vincent Milum <freebsd@darkain.com>
Reported by: jbeich
Approved by: jrm (mentor)
Obtained from: https://github.com/zerotier/ZeroTierOne/pull/848
Differential Revision: https://reviews.freebsd.org/D16880

Details

Provenance
dchAuthored on
Differential Revision
D16880: net/zerotier: require json.hpp v3.2.0
Parents
rP479670: Update to 1.15.0.
Branches
Unknown
Tags
Unknown

Event Timeline

This has the changes to ext/arm32-neon-salsa2012-asm/salsa2012.h but is missing the changes to make-bsd.mk from my PR.
https://github.com/zerotier/ZeroTierOne/pull/848/files#diff-0d866549674fbaa5c4005ebf8b61f097R126

crap.

this is why I dislike using phab, git, and svn, instead of just 1 integrated system....

also, I knew I should have left this til post euroBSDcon when I have more time...

thanks for checking and I'll fix it asap.

on the + side, my cross-compiling poudriere arm setup is here so now I can check this myself.

A+
Dave

No worries. Thanks for being so responsive to my comments! :) I'm just happy to see this working on the Raspberry Pi family of devices now (and other ARM devices too of course)

I think this is all that's missing?

https://dpaste.de/C2Y3

It will take a few hours to build here anyway so let's see how it works in the morning.

thanks for the fix, C is not my style.

A+
Dave

O for a muse of fire, that would ascend the brightest heaven of invention!

Yup, all that was missing was the one assembler flag, the single like ya got there, which is required to let the linker work properly. It looks good now!