#1078694 openctm FTCBFS: native build picks up host flags such as -mbranch-protection=standard when cross compiling for arm64 on amd64 #1078694
- Package:
- src:openctm
- Source:
- src:openctm
- Submitter:
- Helmut Grohne
- Date:
- 2024-08-14 12:13:11 UTC
- Severity:
- normal
- Tags:
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