ICU-3389 Fix --enable-debug. The configure script can't handle debug options.

X-SVN-Rev: 15137
This commit is contained in:
George Rhoten 2004-05-04 04:18:01 +00:00
parent 1d4dbbe09d
commit 8311fefd94
2 changed files with 7 additions and 3 deletions

View File

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

View File

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