summaryrefslogtreecommitdiffstats
path: root/icu
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-09-27 23:31:37 +0300
committerTor Lillqvist <tml@iki.fi>2011-09-27 23:31:37 +0300
commit2a214cc6d34937a5a996f9fd4b6eb6ed4823f727 (patch)
tree8fbc4e8b7fbeed18ce9b998ec73e352a27bb94b2 /icu
parentWaE: comparison between signed and unsigned integer expressions (diff)
downloadcore-2a214cc6d34937a5a996f9fd4b6eb6ed4823f727.tar.gz
core-2a214cc6d34937a5a996f9fd4b6eb6ed4823f727.zip
Compile also ICU for debugging if --enable-debug
Diffstat (limited to 'icu')
-rw-r--r--icu/makefile.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/icu/makefile.mk b/icu/makefile.mk
index 65ba458a9cc1..c1b7a0b2c442 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"