diff options
author | Christopher Faylor <me@cgf.cx> | 2003-02-14 19:25:12 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-02-14 19:25:12 +0000 |
commit | 8df75c37360062b2a451eba814814c474bf461d7 (patch) | |
tree | 73df72382f2165aec75887e91100c2dd5e9bc944 /winsup/mingw/profile | |
parent | dff01e3aa807bbe668dcb16dbf8dc2df954340c6 (diff) | |
download | cygnal-8df75c37360062b2a451eba814814c474bf461d7.tar.gz cygnal-8df75c37360062b2a451eba814814c474bf461d7.tar.bz2 cygnal-8df75c37360062b2a451eba814814c474bf461d7.zip |
* profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to ensure
-mno-cygwin where appropriate. Filter out -O2.
Diffstat (limited to 'winsup/mingw/profile')
-rw-r--r-- | winsup/mingw/profile/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in index 3fe9170de..f18bfe44a 100644 --- a/winsup/mingw/profile/Makefile.in +++ b/winsup/mingw/profile/Makefile.in @@ -92,7 +92,7 @@ gcrt2.o: gcrt0.c #FIXME: Optimizing at higher than -O1 tweaks a bug in gcc 3.2.2 # and earlier mcount.o: mcount.c - $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) -O1 $? + $(CC) -D__MSVCRT__ -c -o $@ $(CPPFLAGS) ${filter-out -O%,$(ALL_CFLAGS)} -O1 $? Makefile: Makefile.in config.status configure $(SHELL) config.status |