... | ... |
@@ -78,9 +78,6 @@ 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 |
|
84 | 81 |
endif |
85 | 82 |
|
86 | 83 |
|
... | ... |
@@ -141,6 +138,9 @@ ifeq ($(OS), SunOS) |
141 | 138 |
LDFLAGS=-g $(PROFILE) |
142 | 139 |
MOD_LDFLAGS=-g -G |
143 | 140 |
endif |
141 |
+ ifeq ($(ARCH), sparc64) |
|
142 |
+ CFLAGS+= -mv8 -Wa,-xarch=v8plus |
|
143 |
+ endif |
|
144 | 144 |
|
145 | 145 |
YACC=yacc |
146 | 146 |
LIBS+=-L/usr/local/lib -lxnet -lrt # or -lnsl -lsocket or -lglibc ? |