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
20 lines
935 B
Plaintext
20 lines
935 B
Plaintext
--- gcc/Makefile.in.orig 2024-02-25 22:32:27 UTC
|
|
+++ gcc/Makefile.in
|
|
@@ -671,6 +671,8 @@ libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/
|
|
|
|
# Directory in which the compiler finds libraries etc.
|
|
libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
|
|
+# Directory in which the compiler finds headers.
|
|
+libsubincludedir = $(libdir)/gcc/$(target_alias)/$(version)/include
|
|
# Directory in which the compiler finds executables
|
|
libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
|
|
# Directory in which all plugin resources are installed
|
|
@@ -3821,6 +3823,7 @@ installdirs:
|
|
# $(libdir)/gcc/include isn't currently searched by cpp.
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(libsubdir)
|
|
+ $(mkinstalldirs) $(DESTDIR)$(libsubincludedir)
|
|
$(mkinstalldirs) $(DESTDIR)$(libexecsubdir)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|