diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2022-03-08 03:56:13 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2022-03-11 08:07:52 +0100 |
commit | 87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe (patch) | |
tree | e63ac47d21490a300d597a685c3b34064dfe6b86 /scripts/gcc/Make-lang.in | |
parent | 430d1ba5b09e4a2a20dc92156e5a1c69dd30bea0 (diff) | |
download | ghdl-87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe.tar.gz ghdl-87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe.tar.bz2 ghdl-87df6ea6f5f49984884b6c5c336aad4e6b8dcdbe.zip |
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.
Diffstat (limited to 'scripts/gcc/Make-lang.in')
-rw-r--r-- | scripts/gcc/Make-lang.in | 6 |
1 files changed, 5 insertions, 1 deletions
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 |