Created attachment 203530 [details] patch Sorry, I hit enter too quickly. Remove -march=native, it's only supported on amd64 and i386.
Committed, thanks!
A commit references this bug: Author: yuri Date: Wed Apr 10 04:21:16 UTC 2019 New revision: 498528 URL: https://svnweb.freebsd.org/changeset/ports/498528 Log: science/cp2k: fix build with GCC-based architectures PR: 237147 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/science/cp2k/Makefile