adding support for hpux ia64/11.20, also strip off MOZ_OPTIMIZE_FLAGS

(instead of just -O) for hpux
r=cls@seawood.org
# 136163


git-svn-id: svn://10.0.0.236/trunk@130279 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jdunn%netscape.com
2002-09-23 20:31:30 +00:00
parent 9ab7f38615
commit 25bd17a17d

View File

@@ -143,11 +143,16 @@ endif
# for gas and gcc, check comment in xptcinvoke_asm_pa32.s
ifeq ($(OS_ARCH),HP-UX)
ifneq ($(CC),gcc)
ifneq ($(OS_TEST),ia64)
CPPSRCS := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp
ASFILES := xptcstubs_asm_pa32.s xptcinvoke_asm_pa32.s
else
CPPSRCS := xptcinvoke_ipf32.cpp xptcstubs_ipf32.cpp
ASFILES := xptcstubs_asm_ipf32.s xptcinvoke_asm_ipf32.s
endif
# #18875 Building the CPP's (CXX) optimized causes a crash
CXXFLAGS := $(filter-out -O, $(CXXFLAGS))
CXXFLAGS := $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
endif
endif