diff options
author | Earnie Boyd <earnie@users.sf.net> | 2003-05-06 17:26:44 +0400 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2003-05-06 17:26:44 +0400 |
commit | 42fbaad1e8c9f26bd92ddbb3248cc8bfd03db173 (patch) | |
tree | 83dd250a5952a0e50d3dd912269eeafb6bef22b3 /winsup/mingw/configure | |
parent | af70a0ea40ac29f809b2efb1d5ec5e960219cbb6 (diff) |
* configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
of multiply defined symbols if the symbols is defined locally. E.G.:
A local definition of malloc causes this problem.
* configure: Regenerate.
* profile/Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API_INCLUDE value.
(ALL_CXXFLAGS): Ditto.
(gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
Thanks to Jeff Bonggren <jbon@users.sf.net>.
* profile/configure.in (W32API_INCLUDE): Set default value.
* profile/configure: Regenerate.
* mingwex/Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API-INCLUDE value.
(ALL_CXXFLAGS): Ditto.
* mingwex/configure.in (W32API_INCLUDE): Set default value.
* mingwex/configure: Regenerate.
Diffstat (limited to 'winsup/mingw/configure')
-rwxr-xr-x | winsup/mingw/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/mingw/configure b/winsup/mingw/configure index 3a2f7e373..3f98db70f 100755 --- a/winsup/mingw/configure +++ b/winsup/mingw/configure @@ -757,9 +757,9 @@ echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then - CFLAGS="-g -O2 -D__USE_CRTIMP" + CFLAGS="-g -O2 else - CFLAGS="-O2 -D__USE_CRTIMP" + CFLAGS="-O2 fi if test "$ac_test_CXXFLAGS" != set; then CXXFLAGS='$(CFLAGS)' |