Makefile: fix building with Solaris C compiler, 64 bit.
This commit is contained in:
parent
ed7e331051
commit
9cc83d2ad9
@ -65,6 +65,13 @@ DEBUG=-g -ggdb
|
|||||||
|
|
||||||
ifeq ($(uname_S),SunOS)
|
ifeq ($(uname_S),SunOS)
|
||||||
# SunOS
|
# SunOS
|
||||||
|
ifneq ($(@@),32bit)
|
||||||
|
CFLAGS+= -m64
|
||||||
|
LDFLAGS+= -m64
|
||||||
|
endif
|
||||||
|
DEBUG=-g
|
||||||
|
DEBUG_FLAGS=-g
|
||||||
|
export CFLAGS LDFLAGS DEBUG DEBUG_FLAGS
|
||||||
INSTALL=cp -pf
|
INSTALL=cp -pf
|
||||||
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
FINAL_CFLAGS+= -D__EXTENSIONS__ -D_XPG6
|
||||||
FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread -lrt
|
FINAL_LIBS+= -ldl -lnsl -lsocket -lresolv -lpthread -lrt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user