Done with pmb MR 2521. I've verified that gcc-aarch64 builds and the following packages can be cross compiled from aarch64 to x86_64: * hello-world * iskey * pbsplash * gcc-x86_64 Related: https://gitlab.postmarketos.org/postmarketOS/continuous-testing/upstream-compat/-/blob/master/docs/how-to-fix-upstream-compat-errors.md#gcc- Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6587 [ci:skip-build]: already built successfully in CI
21 lines
606 B
Diff
21 lines
606 B
Diff
From 4a728ad48a7b437cc6f2697e26603bf648149f86 Mon Sep 17 00:00:00 2001
|
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
|
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
|
Subject: [PATCH 07/35] Enable -Wtrampolines by default.
|
|
|
|
---
|
|
gcc/common.opt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/gcc/common.opt
|
|
+++ b/gcc/common.opt
|
|
@@ -811,7 +811,7 @@ Common Var(warn_system_headers) Warning
|
|
Do not suppress warnings from system headers.
|
|
|
|
Wtrampolines
|
|
-Common Var(warn_trampolines) Warning
|
|
+Common Var(warn_trampolines) Init(1) Warning
|
|
Warn whenever a trampoline is generated.
|
|
|
|
Wtrivial-auto-var-init
|