# HG changeset patch Fix Solaris compilation options. The "-fPIC" flag will always be necessary when using GCC-derived compilers as I understand it. Additionally, Solaris compilation options now unconditionally tries a 64bit build. Contemporary Solaris (since Solaris 10), are hybrid 32/64 bit environments where "uname -m" reports "i86pc". Whether one wants the 32 or 64 bit version of the libraries depends on the type of the Lisp implementation doing the loading, which is currently not available in the environment in which make(1) is executing. diff -r 30d7cd575521 tests/GNUmakefile --- a/tests/GNUmakefile Wed Jun 06 23:11:14 2012 -0400 +++ b/tests/GNUmakefile Mon Oct 29 14:39:10 2012 +0100 @@ -43,7 +43,7 @@ endif else ifeq ($(OSTYPE), SunOS) -CFLAGS := -c -Wall -std=c99 -pedantic +CFLAGS := -m64 -fPIC -c -Wall -std=c99 -pedantic else # Let's assume this is win32 SHLIB_EXT := .dll