summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/profile
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/profile')
-rw-r--r--winsup/mingw/profile/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in
index c7f3a0c7f..3fe9170de 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