aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-02-14 00:42:35 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-02-14 00:42:35 +0000
commit4d658cfcd2976063937a003392652f666095932c (patch)
tree8fb900ab12acc2cf52cc322c959649ef21c83892 /winsup/mingw
parentd1d1797eb7932c7716ff4337b7248e92ea4d64d7 (diff)
downloadnewlib-4d658cfcd2976063937a003392652f666095932c.zip
newlib-4d658cfcd2976063937a003392652f666095932c.tar.gz
newlib-4d658cfcd2976063937a003392652f666095932c.tar.bz2
* profile/Makefile.in (mcount,o): Use -O1 optimization
switch to compile.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/profile/Makefile.in5
2 files changed, 10 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 3628904..de3391b 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -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,
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in
index c7f3a0c..3fe9170 100644
--- a/winsup/mingw/profile/Makefile.in
+++ b/winsup/mingw/profile/Makefile.in
@@ -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