OSDN Git Service

* profile/Makefile.in (mcount,o): Use -O1 optimization
authordannysmith <dannysmith>
Fri, 14 Feb 2003 00:42:34 +0000 (00:42 +0000)
committerdannysmith <dannysmith>
Fri, 14 Feb 2003 00:42:34 +0000 (00:42 +0000)
switch to compile.

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

index 3628904..de3391b 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-13  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * profile/Makefile.in (mcount,o): Use -O1 optimization
+       switch to compile.
+
 2003-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/math.h: Remove _CRTIMP from pow() prototype,
index c7f3a0c..3fe9170 100644 (file)
@@ -89,6 +89,11 @@ gcrt1.o: gcrt0.c
 gcrt2.o: gcrt0.c
        $(CC) -D__MSVCRT__ -c -o $@ $(CPPFLAGS) $(CFLAGS) $?
 
+#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 $?
+
 Makefile: Makefile.in config.status configure
        $(SHELL) config.status