]> sourceware.org Git - newlib-cygwin.git/commitdiff
* profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to ensure
authorChristopher Faylor <me@cgf.cx>
Fri, 14 Feb 2003 19:25:12 +0000 (19:25 +0000)
committerChristopher Faylor <me@cgf.cx>
Fri, 14 Feb 2003 19:25:12 +0000 (19:25 +0000)
-mno-cygwin where appropriate.  Filter out -O2.

winsup/mingw/ChangeLog
winsup/mingw/profile/Makefile.in

index ed7bc27f17f75805fb617fed0a066c327349ef90..7273efe5d0e5c363bdaeff5024ea2549b5276500 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-14  Christopher Faylor  <cgf@redhat.com>
+
+       * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to
+       ensure -mno-cygwin where appropriate.  Filter out -O2.
+
 2003-02-13  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * profile/Makefile.in (mcount.o): Use -O1 optimization
index 3fe9170de2c44d2d36eaad66e500b789afa1f8c3..f18bfe44a24badc12a5c06ccb70b770d84e206ec 100644 (file)
@@ -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
This page took 0.033776 seconds and 5 git commands to generate.