https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212703

--- Comment #1 from Jason Bacon <[email protected]> ---

I worked around the issue by removing their OptimizeForArchitecture CMake
module.

post-patch:
        ${REINPLACE_CMD} \
                -e '/OptimizeForArchitecture/d' \
                -e 's|-O3|-O2|g' \
                ${WRKSRC}/src/CMakeLists.txt

The port is building successfully with vanilla compiler flags.

If you want to reproduce the problem, look at graphics/openmvg here:

https://github.com/outpaddling/freebsd-ports-wip

Disable the patch shown above and the issue should appear.  I was able to
reproduce it on 10.1 and 10.3 amd64.

   Jason

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to