Skip to content

Commit e923a0c

Browse files
committed
gcc: add Xcode 15 patch
1 parent 5557bf4 commit e923a0c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

gcc/gcc-xcode15-warnings.diff

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
diff --git a/gcc/config/aarch64/darwin.h b/gcc/config/aarch64/darwin.h
2+
index 5609c569dc1..9fcbfa3d777 100644
3+
--- a/gcc/config/aarch64/darwin.h
4+
+++ b/gcc/config/aarch64/darwin.h
5+
@@ -65,10 +65,6 @@ along with GCC; see the file COPYING3. If not see
6+
#define DARWIN_NOPIE_SPEC \
7+
" %<no-pie %<fno-pie %<fno-PIE "
8+
9+
-/* Hack alert - we want the exported cas etc. */
10+
-#undef LIB_SPEC
11+
-#define LIB_SPEC "%{!static:-lSystem} -lgcc"
12+
-
13+
/* Force the default endianness and ABI flags onto the command line
14+
in order to make the other specs easier to write. Match clang in
15+
silently ignoring mdynamic-no-pic */
16+
diff --git a/libgfortran/libgfortran.spec.in b/libgfortran/libgfortran.spec.in
17+
index 367d485c230..058ee5775bf 100644
18+
--- a/libgfortran/libgfortran.spec.in
19+
+++ b/libgfortran/libgfortran.spec.in
20+
@@ -5,4 +5,4 @@
21+
#
22+
23+
%rename lib liborig
24+
-*lib: @LIBQUADSPEC@ @LIBM@ %(libgcc) %(liborig)
25+
+*lib: @LIBQUADSPEC@ @LIBM@ %(liborig)

0 commit comments

Comments
 (0)