Date: Sunday, February 11, 2018 @ 19:26:21 Author: jelle Revision: 292494
Fix FS#57461 Set CROSS as true, so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag., so -march=native is not set and overrides our default -march flag. Modified: cjdns/trunk/PKGBUILD ----------+ PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-02-11 19:26:02 UTC (rev 292493) +++ PKGBUILD 2018-02-11 19:26:21 UTC (rev 292494) @@ -6,7 +6,7 @@ pkgname=cjdns pkgver=20.1 -pkgrel=2 +pkgrel=3 pkgdesc='Routing engine designed for security, scalability, speed and ease of use' url='https://github.com/cjdelisle/cjdns' arch=('x86_64') @@ -20,7 +20,8 @@ build() { cd ${pkgname}-${pkgname}-v${pkgver} - CJDNS_RELEASE_VERSION="${pkgver}" \ + # Pretend to be cross compiling so -march=native is not set. + CROSS="true" CJDNS_RELEASE_VERSION="${pkgver}" \ node ./node_build/make.js }
