diff options
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" |