... | ... |
@@ -24,6 +24,8 @@ |
24 | 24 |
# removed -DDIGEST_DOMAIN (andrei) |
25 | 25 |
# 2003-05-30 added extra_defs (andrei) |
26 | 26 |
# 2003-06-06 moved compiler detection before DEFS (andrei) |
27 |
+# 2003-06-10 removed -m32 for gcc 3.x/sparc64 -- it will use |
|
28 |
+# arch. default: -m32 on solaris, -m64 on *bsd (andrei) |
|
27 | 29 |
|
28 | 30 |
|
29 | 31 |
# check if already included/exported |
... | ... |
@@ -372,6 +374,7 @@ ifeq ($(use_fast_lock), yes) |
372 | 374 |
endif |
373 | 375 |
|
374 | 376 |
CFLAGS= |
377 |
+LDFLAGS= |
|
375 | 378 |
# setting CFLAGS |
376 | 379 |
ifeq ($(mode), release) |
377 | 380 |
#if i386 |
... | ... |
@@ -432,7 +435,10 @@ ifeq ($(CC_NAME), gcc) |
432 | 435 |
ifeq ($(CC_SHORTVER), 3.0) |
433 | 436 |
CPU ?= ultrasparc |
434 | 437 |
#use 32bit for now |
435 |
- CFLAGS+= -mcpu=ultrasparc -mtune=$(CPU) -m32 \ |
|
438 |
+ CFLAGS+= -mcpu=ultrasparc -mtune=$(CPU) \ |
|
439 |
+ # use -m64 to force 64 bit (but add it also to LDFLAGS), |
|
440 |
+ # -m32 for 32 bit (default on solaris), |
|
441 |
+ # nothing for arch. default |
|
436 | 442 |
# -mcpu=v9 or ultrasparc? # -mtune implied by -mcpu |
437 | 443 |
#-mno-epilogue #try to inline function exit code |
438 | 444 |
#-mflat # omit save/restore |
... | ... |
@@ -509,7 +515,6 @@ endif #ARCH, i386 |
509 | 515 |
CFLAGS+= $(CC_EXTRA_OPTS) |
510 | 516 |
|
511 | 517 |
|
512 |
-LDFLAGS= |
|
513 | 518 |
# setting LDFLAGS |
514 | 519 |
ifeq ($(CC_NAME), gcc) |
515 | 520 |
ifeq ($(ARCH), sparc64) |
... | ... |
@@ -36,7 +36,7 @@ x (different way) add request header bitmap field for the modules |
36 | 36 |
x fix bind_address for tcp (in some way) |
37 | 37 |
- add conflict in debs/rpms/etc (conflict w/ older ser-mysql, ser-jabber) |
38 | 38 |
- new packages ser-radius etc |
39 |
-- tcp_destroy (called on ser exit) |
|
39 |
+x tcp_destroy (called on ser exit) |
|
40 | 40 |
- BUG:?? ipv6 only and try to send to ipv4 => getsendsocket=>0 (send_ipv6=0) |
41 | 41 |
the reverse is also true |
42 | 42 |
- SUBST lumps for replies (involves setting the send_socket in forward_reply, |