Skip to content
Snippets Groups Projects
Commit 5d95fa04 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now the Image module compiles on Solaris/Sparc again.

Rev: src/configure.in:1.273
parent bec9950f
Branches
Tags
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.272 1999/03/26 19:29:50 hubbe Exp $") AC_REVISION("$Id: configure.in,v 1.273 1999/04/12 23:49:33 grubba Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -2757,8 +2757,19 @@ AC_MSG_CHECKING(CCSHARED) ...@@ -2757,8 +2757,19 @@ AC_MSG_CHECKING(CCSHARED)
if test -z "$CCSHARED" ; then if test -z "$CCSHARED" ; then
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
case $pike_cv_sys_os in case $pike_cv_sys_os in
BSD/OS*) CCSHARED="";; BSD/OS*)
*) CCSHARED="-fpic";; CCSHARED=""
;;
Solaris*)
# The Image module runs out of symbol reference space unless we
# use the large PIC model:
# ld: fatal: too many symbols require `small' PIC references:
# have 2205, maximum 2048 -- recompile some modules -K PIC.
CCSHARED="-fPIC"
;;
*)
CCSHARED="-fpic"
;;
esac esac
else else
case $pike_cv_sys_os in case $pike_cv_sys_os in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment