summaryrefslogtreecommitdiff
path: root/lang/gcc15/files/patch-gcc_jit_Make-lang.in
diff options
context:
space:
mode:
authorLorenzo Salvadore <salvadore@FreeBSD.org>2025-04-29 17:50:39 +0200
committerLorenzo Salvadore <salvadore@FreeBSD.org>2025-05-03 11:46:26 +0200
commitbfcb6f38f0ef3d08db3421ef59fa7d349c28c305 (patch)
tree589dcfab325db8cf0e7d5cd26811e6f589a0e2b2 /lang/gcc15/files/patch-gcc_jit_Make-lang.in
parentlang/gcc14: Add comment to existing patch (diff)
lang/gcc15: Add port
GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc15, g++15, and gfortran15, respectively. This is the first release from the GCC 15 series. It largely is a copy of lang/gcc15-devel, with release-specific modifications from lang/gcc14. Common issues that could happen when porting code to GCC 15: https://gcc.gnu.org/gcc-15/porting_to.html Changes: https://gcc.gnu.org/gcc-15/changes.html Note: files/patch-libgcc_unwind.inc will get obsolete once all supported FreeBSD releases include commit 22e564c74eb20e14bd93fd9fdde20e38a29cfcf1. [1] PR: 285711 [1]
Diffstat (limited to 'lang/gcc15/files/patch-gcc_jit_Make-lang.in')
-rw-r--r--lang/gcc15/files/patch-gcc_jit_Make-lang.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/gcc15/files/patch-gcc_jit_Make-lang.in b/lang/gcc15/files/patch-gcc_jit_Make-lang.in
new file mode 100644
index 000000000000..d5fdd6103146
--- /dev/null
+++ b/lang/gcc15/files/patch-gcc_jit_Make-lang.in
@@ -0,0 +1,14 @@
+--- gcc/jit/Make-lang.in.orig 2024-02-25 22:32:31 UTC
++++ gcc/jit/Make-lang.in
+@@ -360,9 +360,9 @@ jit.install-headers: installdirs
+ # Install hooks:
+ jit.install-headers: installdirs
+ $(INSTALL_DATA) $(srcdir)/jit/libgccjit.h \
+- $(DESTDIR)$(includedir)/libgccjit.h
++ $(DESTDIR)$(libsubincludedir)/libgccjit.h
+ $(INSTALL_DATA) $(srcdir)/jit/libgccjit++.h \
+- $(DESTDIR)$(includedir)/libgccjit++.h
++ $(DESTDIR)$(libsubincludedir)/libgccjit++.h
+
+ ifneq (,$(findstring mingw,$(target)))
+ jit.install-common: installdirs jit.install-headers