Duplicated the handling of 64 bit linux builds for ia64 and x86_64 and placed

them under the seperate paths for Intel vs GNU compilers.
This commit is contained in:
Robert Osfield
2003-03-20 22:13:10 +00:00
parent 2c018b841f
commit f9c82c9bbb

View File

@@ -252,23 +252,32 @@ ifeq ($(OS),Linux)
DEF += -KPIC
OPTF = -O2
DBGF = -g -DOSG_COMPILE_UNIT_TESTS
ifeq ($(SYSARCH),ia64)
ARCHARGS =
ARCH = 64
ARCHINST = 64
else
ARCHARGS =
ARCH = 32
ARCHINST =
endif
else
LIBS = -lstdc++
DEF += -W -Wall -fPIC
OPTF = -O2
DBGF = -g -gstabs+ -DOSG_COMPILE_UNIT_TESTS
SYSARCH := $(shell arch)
ifeq ($(SYSARCH),x86_64)
ARCHARGS = -m64 -DARCH64
ARCH = 64
ARCHINST = 64
else
ARCHARGS =
ARCH = 32
ARCHINST =
endif
endif
SYSARCH := $(shell arch)
ifeq ($(SYSARCH),ia64)
ARCHARGS = -m64 -DARCH64
ARCH = 64
ARCHINST = 64
else
ARCHARGS =
ARCH = 32
ARCHINST =
endif
SHARED = -shared
LINKARGS = -L/usr/X11R6/lib