Skip to content

Commit

Permalink
Bug 1290336 - Define U_DEBUG flag for ICU in debug build. r=glandium
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: AHCydclfdcW
  • Loading branch information
upsuper committed Jul 29, 2016
1 parent 9d23298 commit 2bcb5c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/external/icu/defs.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ DEFINES.update(
if not CONFIG['HAVE_LANGINFO_CODESET']:
DEFINES['U_HAVE_NL_LANGINFO_CODESET'] = 0

if CONFIG['MOZ_DEBUG']:
DEFINES['U_DEBUG'] = 1

# ICU requires RTTI
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-frtti']
Expand Down

0 comments on commit 2bcb5c6

Please sign in to comment.