Some GCC ports install libgccjit.h and libgccjit++.h in the same directory. Fix conflict for lang/gcc14-devel. See also commit 0338e04504ee269b7a95e6707f1314bc1c4239fe that fixed the conflict in the same way for lang/gcc11. PR: 257060, 277383
15 lines
549 B
Plaintext
15 lines
549 B
Plaintext
--- 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
|