Skip to content

Commit c012acf

Browse files
committed
macOS fix
1 parent 19217fd commit c012acf

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

dkarm-eabi/patches/gcc-14.1.0.patch

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,19 @@ index 728332b8153..47fc03eb8c8 100644
291291
INIT_STATIC_SPEC ("startfile", &startfile_spec),
292292
INIT_STATIC_SPEC ("cross_compile", &cross_compile),
293293
INIT_STATIC_SPEC ("version", &compiler_version),
294+
diff --git a/libcc1/configure b/libcc1/configure
295+
index ea689a353c8..98f9d9b21b7 100755
296+
--- a/libcc1/configure
297+
+++ b/libcc1/configure
298+
@@ -5119,7 +5119,7 @@ else
299+
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
300+
# nm: unknown option "B" ignored
301+
case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
302+
- *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
303+
+ $tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
304+
break
305+
;;
306+
*)
294307
diff --git a/libgcc/config/arm/t-bpabi b/libgcc/config/arm/t-bpabi
295308
index dddddc7c444..c2502597953 100644
296309
--- a/libgcc/config/arm/t-bpabi
@@ -550,3 +563,16 @@ index 9fd4ab4848c..0b7ba4021ee 100644
550563
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
551564
< $< > $@
552565

566+
diff --git a/lto-plugin/configure b/lto-plugin/configure
567+
index 28f5dd79cd7..a79f318a4d6 100755
568+
--- a/lto-plugin/configure
569+
+++ b/lto-plugin/configure
570+
@@ -6469,7 +6469,7 @@ else
571+
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
572+
# nm: unknown option "B" ignored
573+
case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
574+
- *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
575+
+ $tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
576+
break
577+
;;
578+
*)

0 commit comments

Comments
 (0)