Browse code

- makefile fixes for sparc/solaris & fastlock

Andrei Pelinescu-Onciul authored on 13/02/2002 20:33:53
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@
9 9
 VERSION = 0
10 10
 PATCHLEVEL = 8
11 11
 SUBLEVEL = 6
12
-EXTRAVERSION = 1
12
+EXTRAVERSION = 2
13 13
 
14 14
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
15 15
 OS = $(shell uname -s)
... ...
@@ -78,6 +78,9 @@ endif
78 78
 
79 79
 ifeq ($(ARCH), sparc64)
80 80
 	DEFS+= -DFAST_LOCK
81
+ifeq($(OS), SunOs)
82
+	CFLAGS+= -mv8 -Wa,-xarch=v8plus
83
+endif
81 84
 endif
82 85
 
83 86
 
... ...
@@ -141,6 +144,7 @@ ifeq  ($(OS), SunOS)
141 141
 
142 142
 YACC=yacc
143 143
 LIBS+=-L/usr/local/lib -lxnet -lrt # or -lnsl -lsocket or -lglibc ?
144
+# -lrt needed for sched_yield
144 145
 
145 146
 endif
146 147
 ifeq ($(OS), FreeBSD)