mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 05:43:19 -08:00
Fixes for building ECL with gcc 3.4.3 in Solaris 10
This commit is contained in:
parent
e434ebc3aa
commit
c66068c408
4 changed files with 14 additions and 3 deletions
4
src/aclocal.m4
vendored
4
src/aclocal.m4
vendored
|
|
@ -283,7 +283,9 @@ case "${host_os}" in
|
|||
ECL_LDRPATH='-Wl,-R,~A'
|
||||
TCPLIBS='-lsocket -lnsl -lintl'
|
||||
clibs='-ldl'
|
||||
CFLAGS="${CFLAGS} -std=gnu99"
|
||||
# We should use C99 and _XOPEN_SOURCE=600, but Solaris 10
|
||||
# ships with GCC 3.4.3 which does not support C99
|
||||
# CFLAGS="${CFLAGS} -std=gnu99"
|
||||
enable_slow_config=yes
|
||||
;;
|
||||
cygwin*)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
See file '../Copyright' for full details.
|
||||
*/
|
||||
|
||||
#ifndef __sun__ /* See unixint.d for the reason of this */
|
||||
#define _XOPEN_SOURCE 600 /* For pthread mutex attributes */
|
||||
#endif
|
||||
#include <ecl/ecl.h>
|
||||
#include <ecl/internal.h>
|
||||
#include <ecl/ecl-inl.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,12 @@
|
|||
See file '../Copyright' for full details.
|
||||
*/
|
||||
|
||||
#define _XOPEN_SOURCE 600 /* For SA_SIGINFO in Solaris */
|
||||
#ifdef __sun__
|
||||
/* For SA_SIGINFO in Solaris. We could have used _XOPEN_SOURCE=600, but
|
||||
* this requires C99 and the default GCC for Solaris (3.4.3) does not
|
||||
* support this C standard. */
|
||||
#define __EXTENSIONS__
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
4
src/configure
vendored
4
src/configure
vendored
|
|
@ -4432,7 +4432,9 @@ case "${host_os}" in
|
|||
ECL_LDRPATH='-Wl,-R,~A'
|
||||
TCPLIBS='-lsocket -lnsl -lintl'
|
||||
clibs='-ldl'
|
||||
CFLAGS="${CFLAGS} -std=gnu99"
|
||||
# We should use C99 and _XOPEN_SOURCE=600, but Solaris 10
|
||||
# ships with GCC 3.4.3 which does not support C99
|
||||
# CFLAGS="${CFLAGS} -std=gnu99"
|
||||
enable_slow_config=yes
|
||||
;;
|
||||
cygwin*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue