crosstool-ng/packages/gcc/11.4.0/0000-libtool-leave-framework-alone.patch
Chris Packham d855363eee gcc: Add 11.4.0
Add gcc 11.4.0 and regenerate patches against the new version.

https://gcc.gnu.org/pipermail/gcc-announce/2023/000177.html
https://gcc.gnu.org/gcc-11/changes.html

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-05-31 20:21:59 +12:00

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