mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-05 04:24:12 +00:00
db6f703f52
Add GCC 12.1 https://gcc.gnu.org/gcc-12/ The following patches from GCC 11.3.0 are no longer needed: - 0005-arc-Update-ZOL-pattern.patch - 0006-arc-Update-u-maddhisi4-patterns.patch - 0007-arc-Fix-maddhisi-patterns.patch - 0008-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch - 0009-libstdc-Check-for-TLS-support-on-mingw-cross-compile.patch One new patch is needed to avoid issues building sh-unknown-elf: - 0006-sh-Avoid-mb-m1-multilib-combination.patch It is also necessary to build all-build-libcpp. This target exists as far back as GCC 6 so has been done unconditionally. Signed-off-by: Chris Packham <judge.packham@gmail.com>
19 lines
501 B
Diff
19 lines
501 B
Diff
---
|
|
libtool-ldflags | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/libtool-ldflags
|
|
+++ b/libtool-ldflags
|
|
@@ -36,6 +36,11 @@
|
|
for arg
|
|
do
|
|
case $arg in
|
|
+ -framework)
|
|
+ # libtool handles this option. It should not be prefixed with
|
|
+ # -Xcompiler, as that would split it from the argument that
|
|
+ # follows.
|
|
+ ;;
|
|
-f*|--*|-static-lib*|-shared-lib*|-B*)
|
|
# Libtool does not ascribe any special meaning options
|
|
# that begin with -f or with a double-dash. So, it will
|