File: gcc-distro-specs

package info (click to toggle)
ghdl 2.0.0%2Bdfsg-6.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 72,852 kB
  • sloc: ada: 238,924; vhdl: 196,551; ansic: 24,457; python: 17,483; sh: 11,399; cpp: 2,283; makefile: 1,440; pascal: 516; exp: 40; asm: 25
file content (16 lines) | stat: -rw-r--r-- 696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Add gcc-distro-specs patch to add %(distro_defaults) like in gcc specs
 The Debian packages for gcc add %(distro_defaults) to the specs, so add the
 same to the @vhdl spec line calling ghdl1 in the gcc backend.
Author: Andreas Bombe <aeb@debian.org>
Forwarded: not-needed
Last-Update: 2023-01-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/scripts/gcc/lang-specs.h
+++ b/scripts/gcc/lang-specs.h
@@ -25,4 +25,4 @@
   {".vhd", "@vhdl", 0, 0, 0},
   {".vhdl", "@vhdl", 0, 0, 0},
   {"@vhdl",
-   "ghdl1 %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}", 0, 0, 0},
+   "ghdl1 %i %(cc1_options) %(distro_defaults) %{!fsyntax-only:%(invoke_as)}", 0, 0, 0},