From eeb669c1c9b4695ddedab228615d68124c07ddf6 Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 29 Nov 2007 10:31:25 -0800 Subject: [PATCH] LD should be based on $CC and not hardcoded to gcc Fix the default loader so it will be whatever the default C compiler is ($CC). --- iverilog-vpi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iverilog-vpi.sh b/iverilog-vpi.sh index fbccedb04..d2512cc40 100644 --- a/iverilog-vpi.sh +++ b/iverilog-vpi.sh @@ -25,7 +25,7 @@ CXX=@IVCXX@ CFLAGS="@PIC@ @IVCFLAGS@ -I@INCLUDEDIR@" # These are used for linking... -LD=gcc +LD=$CC LDFLAGS32="@SHARED@ -L@LIBDIR@" LDFLAGS64="@SHARED@ -L@LIBDIR64@" LDFLAGS="$LDFLAGS64"