Solaris build needs -std=gnu89
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Douglas Katzman |
Bug Description
Solaris build fails with:
//setting up OS-dependent information
make: Entering directory `/u/home/
gcc -m64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_
In file included from /opt/csw/
/opt/csw/
#error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
^
make: *** [determine-
make: Leaving directory `/u/home/
Fix:
diff --git a/src/runtime/
index 17eef04..e709909 100644
--- a/src/runtime/
+++ b/src/runtime/
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS = -m64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_
+CFLAGS = -m64 -g -O2 -Wall -std=gnu89 -D__EXTENSIONS__ -D_POSIX_
LINKFLAGS = -m64 -g
ASFLAGS = -m64 -Wall
NM = nm -xgp
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
done /sourceforge. net/p/sbcl/ sbcl/ci/ 7f952dc62ef7583 28478d3a817cf4d ff9e2e3ee4
https:/