diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-10-05 09:19:31 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-10-05 09:19:31 +0100 |
| commit | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch) | |
| tree | ad799ccacfb459b809b02b9c115ed4befb93b4c1 /lang/gcc11/files/patch-gcc_configure | |
| parent | 0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff) | |
| parent | b057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'lang/gcc11/files/patch-gcc_configure')
| -rw-r--r-- | lang/gcc11/files/patch-gcc_configure | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lang/gcc11/files/patch-gcc_configure b/lang/gcc11/files/patch-gcc_configure deleted file mode 100644 index cc60593ba6f7..000000000000 --- a/lang/gcc11/files/patch-gcc_configure +++ /dev/null @@ -1,22 +0,0 @@ -Enable support for .init_array and .fini_array, which FreeBSD supports -since commit 83aa9cc00c2d83d05a0efe7a1496d8aab4a153bb in the src -repository. - -There __FreeBSD_version is 1000009, so we start enabling the support -from __FreeBSD_version == 1000010. ---- gcc/configure.orig 2023-05-11 22:33:34 UTC -+++ gcc/configure -@@ -24214,6 +24214,13 @@ EOF - #else - # if defined __sun__ && defined __svr4__ - /* Solaris ld.so.1 supports .init_array/.fini_array since Solaris 8. */ -+# elif defined __FreeBSD__ -+# include <sys/param.h> -+# if __FreeBSD_version >= 1000010 -+ /* FreeBSD supports .init_array/.fini_array since FreeBSD 10. */ -+# else -+# error The C library not known to support .init_array/.fini_array -+# endif - # else - # error The C library not known to support .init_array/.fini_array - # endif |
