0338e04504
This is the second attempt to solve the conflict, see commits -dc67e7d300
(first attempt); -9f0cd13014
(revert of the first attempt). GCC 11, GCC 12 and GCC 13 install libgccjit.h and libgccjit++.h in the same directory. Fix conflict for GCC 11, which is GCC_DEFAULT, by installing those files in a directory specific to GCC 11. PR: 257060 Reviewed by: yasu, jrm Differential Revision: https://reviews.freebsd.org/D37266
14 lines
549 B
Text
14 lines
549 B
Text
--- gcc/jit/Make-lang.in.orig 2022-11-02 17:25:43 UTC
|
|
+++ gcc/jit/Make-lang.in
|
|
@@ -355,9 +355,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
|