Compile also ICU for debugging if --enable-debug

This commit is contained in:
Tor Lillqvist 2011-09-27 23:31:37 +03:00
parent 82836f2815
commit 2a214cc6d3

View file

@ -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"