#1078694 openctm FTCBFS: native build picks up host flags such as -mbranch-protection=standard when cross compiling for arm64 on amd64

#1078694#5
Date:
2024-08-14 12:10:54 UTC
From:
To:
openctm fails to cross build from source due to a change in default
build flags. We now have more architecture-specific build flags and an
amd64 compiler is no longer happy with arm64 build flags. Therefore, we
must recompute the build flags for the native pass in openctm rather
than reusing the host flags. I'm attaching a patch for your convenience.

Helmut