[Libreoffice-commits] .: icu/makefile.mk
Tor Lillqvist
tml at kemper.freedesktop.org
Tue Sep 27 13:31:54 PDT 2011
icu/makefile.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 2a214cc6d34937a5a996f9fd4b6eb6ed4823f727
Author: Tor Lillqvist <tml at iki.fi>
Date: Tue Sep 27 23:31:37 2011 +0300
Compile also ICU for debugging if --enable-debug
diff --git a/icu/makefile.mk b/icu/makefile.mk
index 65ba458..c1b7a0b 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -76,9 +76,14 @@ CC:=gcc $(EXTRA_CFLAGS)
.ENDIF # "$(EXTRA_CFLAGS)"!=""
.ENDIF # "$(OS)"=="MACOSX"
+.IF "$(debug) != ""
+icu_CFLAGS+=-g $(ARCH_FLAGS)
+icu_CXXFLAGS+=-g $(ARCH_FLAGS)
+.ELSE
icu_CFLAGS+=-O $(ARCH_FLAGS)
-icu_LDFLAGS+=$(EXTRA_LINKFLAGS)
icu_CXXFLAGS+=-O $(ARCH_FLAGS)
+.ENDIF
+icu_LDFLAGS+=$(EXTRA_LINKFLAGS)
# until someone introduces SOLARIS 64-bit builds
.IF "$(OS)"=="SOLARIS"
More information about the Libreoffice-commits
mailing list