$NetBSD: patch-gcc_config_darwin.opt,v 1.2 2025/06/08 07:37:45 wiz Exp $ Support Darwin/aarch64, from https://github.com/Homebrew/formula-patches. --- gcc/config/darwin.opt.orig 2025-05-23 11:02:04.332198151 +0000 +++ gcc/config/darwin.opt @@ -91,6 +91,10 @@ mtarget-linker Target RejectNegative Joined Separate Var(darwin_target_linker) Init(LD64_VERSION) -mtarget-linker Specify that ld64 is the toolchain linker for the current invocation. +munreachable-traps +Target Var(darwin_unreachable_traps) Init(1) +When set (the default) this makes __builtin_unreachable render as a trap. + ; Driver options. all_load @@ -385,6 +389,10 @@ weak_framework Driver RejectNegative Separate -weak_framework Make a weak link to the specified framework. +weak_framework +Driver RejectNegative Separate +-weak_framework Make a weak link to the specified framework. + weak_reference_mismatches Driver RejectNegative Separate -weak_reference_mismatches Specifies what to do if a symbol import conflicts between file (weak in one and not in another) the default is to treat the symbol as non-weak.