ICU-3855 Make sure that assertions are disabled in the library code in release mode.
The project files work the same way. X-SVN-Rev: 16195
This commit is contained in:
parent
2327dcdc7f
commit
bc04cf3e3f
@ -38,6 +38,11 @@ THREADSCFLAGS += /MD
|
||||
THREADSCXXFLAGS += /MD
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_RELEASE),1)
|
||||
# Make sure that assertions are disabled
|
||||
CPPFLAGS+=-DU_RELEASE=1
|
||||
endif
|
||||
|
||||
# /GF pools strings and places them into read-only memory
|
||||
# /GX enables exception handling
|
||||
CFLAGS += /GF
|
||||
|
Loading…
Reference in New Issue
Block a user