From: Alastair B. <lis...@us...> - 2009-04-28 16:02:24
|
Update of /cvsroot/sbcl/sbcl/contrib In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22687/contrib Modified Files: asdf-module.mk Log Message: 1.0.27.48: Win32/Cygwin contrib build fix. Recentish cygwin likes to have gcc as a symlink. SBCL can't handle that, so, for cygwin only, fully dereference gcc if it's a symlink when building contribs. Index: asdf-module.mk =================================================================== RCS file: /cvsroot/sbcl/sbcl/contrib/asdf-module.mk,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- asdf-module.mk 27 Mar 2008 17:40:31 -0000 1.19 +++ asdf-module.mk 28 Apr 2009 16:02:13 -0000 1.20 @@ -14,6 +14,10 @@ endif ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) EXTRA_CFLAGS=-mno-cygwin + # SBCL can't read cygwin symlinks, and cygwin likes to symlink + # gcc. To further complicate things, SBCL can't handle cygwin + # paths, either. + CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC)))) endif export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS |