ICU-3389 Fix --enable-debug. The configure script can't handle debug options.
X-SVN-Rev: 15137
This commit is contained in:
parent
1d4dbbe09d
commit
8311fefd94
@ -23,6 +23,10 @@ ifeq ($(ENABLE_DEBUG),1)
|
||||
# /MDd means 'compiles and links a debugable multithreaded program with DLL'
|
||||
THREADSCFLAGS += /MDd
|
||||
THREADSCXXFLAGS += /MDd
|
||||
# The debug flags are defined here because configure can't handle them.
|
||||
CFLAGS+=/Zi
|
||||
CXXFLAGS+=/Zi
|
||||
LDFLAGS+=/DEBUG
|
||||
else
|
||||
# /MD means 'compiles and links a multithreaded program with DLL'
|
||||
THREADSCFLAGS += /MD
|
||||
|
@ -265,9 +265,9 @@ case $platform in
|
||||
CXX=cl; export CXX
|
||||
RELEASE_CFLAGS='/O2 /Ob2'
|
||||
RELEASE_CXXFLAGS='/O2 /Ob2'
|
||||
DEBUG_CFLAGS='/Zi'
|
||||
DEBUG_CXXFLAGS='/Zi'
|
||||
DEBUG_LDFLAGS='/DEBUG'
|
||||
# The real debug flags are defined by the mh file because configure can't handle them.
|
||||
DEBUG_CFLAGS=
|
||||
DEBUG_CXXFLAGS=
|
||||
;;
|
||||
MacOSX)
|
||||
THE_OS="MacOS X (Darwin)"
|
||||
|
Loading…
Reference in New Issue
Block a user