From b7a229f2f8634403f7551561e1525778e1771498 Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Fri, 21 Jan 2000 03:17:50 +0000 Subject: [PATCH] Enable Optimized builds on HPUX # 18875 r= pepper@netscape.com a= chofmann@netscape.com --- xpcom/reflect/xptcall/src/md/unix/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xpcom/reflect/xptcall/src/md/unix/Makefile.in b/xpcom/reflect/xptcall/src/md/unix/Makefile.in index 677d18d8cdb..a220c4ce86c 100644 --- a/xpcom/reflect/xptcall/src/md/unix/Makefile.in +++ b/xpcom/reflect/xptcall/src/md/unix/Makefile.in @@ -108,6 +108,9 @@ ifeq ($(OS_ARCH),HP-UX) ifneq ($(CC),gcc) CPPSRCS := xptcinvoke_pa32.cpp xptcstubs_pa32.cpp ASFILES := xptcstubs_asm_pa32.s xptcinvoke_asm_pa32.s + +# #18875 Building the CPP's (CXX) optimized causes a crash +OS_CXXFLAGS := $(filter-out -O, $(OS_CXXFLAGS)) endif endif