diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2022-03-12 16:27:22 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2022-03-13 08:58:58 +0100 |
commit | a89bb895d87768df1c0d78d3941f8cec37593222 (patch) | |
tree | 7d3109a68c3eb54f6abd98858e4d9ca3e285fb9f /src | |
parent | e59396cf31a30c7c8ba6480ea02e34bfde97e4c9 (diff) | |
download | ghdl-a89bb895d87768df1c0d78d3941f8cec37593222.tar.gz ghdl-a89bb895d87768df1c0d78d3941f8cec37593222.tar.bz2 ghdl-a89bb895d87768df1c0d78d3941f8cec37593222.zip |
Fix hardcoded values in gcc backend's default_paths
The gcc backend's Make-lang.in still had hardcoded install paths. Since
this is copied to the gcc build system we don't have access to our
configure variables, so just treat it as a subst_file in the configure
script.
While we're at it we get rid of the separate sed invocation for
default_paths and have that go through config.status instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/ghdldrv/default_paths.ads.in | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/ghdldrv/default_paths.ads.in b/src/ghdldrv/default_paths.ads.in deleted file mode 100644 index 03addd784..000000000 --- a/src/ghdldrv/default_paths.ads.in +++ /dev/null @@ -1,44 +0,0 @@ --- GHDL driver paths -*- ada -*-. --- Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold --- --- This program is free software: you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation, either version 2 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program. If not, see <gnu.org/licenses>. - -package Default_Paths is - - -- Accept long lines. - pragma Style_Checks ("M999"); - - Install_Prefix : constant String := - "@INSTALL_PREFIX@"; - LibDir_Suffix : constant String := - "@LIBDIR_SUFFIX@"; - LibGhdlDir_Suffix : constant String := - "@LIBGHDLDIR_SUFFIX@"; - IncDir_Suffix : constant String := - "@INCDIR_SUFFIX@"; - - Compiler_Gcc : constant String := - "@COMPILER_GCC@"; - Compiler_Mcode : constant String := - "@COMPILER_MCODE@"; - Compiler_Llvm : constant String := - "@COMPILER_LLVM@"; - Compiler_Debug : constant String := - "@COMPILER_DEBUG@"; - Post_Processor : constant String := - "@POST_PROCESSOR@"; - - Shared_Library_Extension : constant String := "@SOEXT@"; - Default_Pie : constant Boolean := "@default_pic@" = String'("true"); -end Default_Paths; |