diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-09-27 23:31:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-09-27 23:31:37 +0300 |
commit | 2a214cc6d34937a5a996f9fd4b6eb6ed4823f727 (patch) | |
tree | 8fbc4e8b7fbeed18ce9b998ec73e352a27bb94b2 /icu | |
parent | 82836f28150a48a5ffce41d189cc8a62393c2ae0 (diff) |
Compile also ICU for debugging if --enable-debug
Diffstat (limited to 'icu')
-rw-r--r-- | icu/makefile.mk | 7 |
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" |