The following patch is part of the latest Debian package, but probably 
should be applied upstream. Basically, the GHDL Makefile was hard-coding CC 
to cc, instead of using what was determined by the build system. This can 
break the build completely if cc doesn't match the compiler that actually 
is being used, especially once e.g. gnatbind and friends get their hands on 
it.

--- ghdl-0.27+svn110+gcc4.3.2~dfsg.orig/ghdl/vhdl/Makefile.in
+++ ghdl-0.27+svn110+gcc4.3.2~dfsg/ghdl/vhdl/Makefile.in
@@ -80,7 +80,6 @@
 X_ADAFLAGS =
 T_ADAFLAGS =
 
-CC = cc
 ADAC = $(CC)
 
 ECHO = echo

-- 
Wesley J. Landaker <[EMAIL PROTECTED]> <xmpp:[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to