Store linker on a separate variable

This commit is contained in:
jgarcia 2007-07-12 09:25:30 +00:00
parent 3f9a080eea
commit 6af54bccfa
2 changed files with 6 additions and 3 deletions

View file

@ -408,6 +408,9 @@ One can set the variable appropriately adding for instance flags which the
C compiler may need to exploit special hardware features (e.g. a floating point
coprocessor).")
(defvar *ld* "@ECL_CC@"
"This variable controls the linker which is used by ECL.")
(defvar *cc-flags* "@CPPFLAGS@ @CFLAGS@ @ECL_CFLAGS@")
(defvar *cc-optimize* #-msvc "-O"

View file

@ -69,7 +69,7 @@
(safe-system
(format nil
*ld-format*
*cc*
*ld*
(si::coerce-to-filename o-pathname)
(fix-for-mingw (ecl-library-directory))
options
@ -81,7 +81,7 @@
(safe-system
(format nil
*ld-format*
*cc*
*ld*
(si::coerce-to-filename o-pathname)
(fix-for-mingw (ecl-library-directory))
options
@ -103,7 +103,7 @@
(safe-system
(format nil
*ld-format*
*cc*
*ld*
(si::coerce-to-filename o-pathname)
(fix-for-mingw (ecl-library-directory))
options