From 87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Tue, 8 Mar 2022 03:56:13 +0100 Subject: mk: Introduce configure options for inc/libdirsuffix This patch is based on one from the Debian ghdl packaging. We use it to support coinstallability of the different ghdl backend executables. Force prepending ghdl/ to the include path really doesn't help us with that any. Note this effectively reverts 786ca17ce. --- scripts/gcc/Make-lang.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/gcc/Make-lang.in b/scripts/gcc/Make-lang.in index a05010e87..826f65538 100644 --- a/scripts/gcc/Make-lang.in +++ b/scripts/gcc/Make-lang.in @@ -103,8 +103,12 @@ vhdl/default_paths.ads: Makefile echo " Compiler_Mcode : constant String := \"\";" >> tmp-dpaths.ads echo " Compiler_Llvm : constant String := \"\";" >> tmp-dpaths.ads echo " Post_Processor : constant String := \"\";" >> tmp-dpaths.ads - echo " Lib_Prefix : constant String :=">> tmp-dpaths.ads + echo " LibDir_Suffix : constant String :=">> tmp-dpaths.ads + echo " \"lib\";" >> tmp-dpaths.ads + echo " LibGhdlDir_Suffix : constant String :=">> tmp-dpaths.ads echo " \"lib/ghdl\";" >> tmp-dpaths.ads + echo " IncDir_Suffix : constant String :=" >> tmp-dpaths.ads + echo " \"include/ghdl\";" >> tmp-dpaths.ads echo " Shared_Library_Extension : constant String :=">> tmp-dpaths.ads echo " \"$(VHDL_SOEXT)\";" >> tmp-dpaths.ads echo " Default_Pie : constant Boolean := False;" >> tmp-dpaths.ads -- cgit v1.2.3