summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-11-19 16:57:16 +0000
committerMathias Bauer <mba@openoffice.org>2009-11-19 16:57:16 +0000
commit1aa4d69db3751853807ad2658ee03d3c553e77fc (patch)
tree150e9764e5b84b409b59b179ae0b6be9f7639111 /sfx2
parentcac6eb1698182093fc708ccc5c378bbefc406d7c (diff)
#i106390#: crash caused by optimization
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/control/makefile.mk b/sfx2/source/control/makefile.mk
index 481952409d6c..e93502fae28d 100644
--- a/sfx2/source/control/makefile.mk
+++ b/sfx2/source/control/makefile.mk
@@ -1,7 +1,7 @@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
+#
# Copyright 2008 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
@@ -47,6 +47,10 @@ CFLAGS+=-Od
.ENDIF
.ENDIF
++.IF "$(COM)"=="GCC"
++CFLAGS+=-O0
++.ENDIF
+
# --- Files --------------------------------------------------------
SLOFILES = \