From 4d658cfcd2976063937a003392652f666095932c Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Fri, 14 Feb 2003 00:42:35 +0000 Subject: [PATCH] * profile/Makefile.in (mcount,o): Use -O1 optimization switch to compile. --- winsup/mingw/ChangeLog | 5 +++++ winsup/mingw/profile/Makefile.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 362890404..de3391b1c 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2003-02-13 Danny Smith + + * profile/Makefile.in (mcount,o): Use -O1 optimization + switch to compile. + 2003-02-10 Danny Smith * include/math.h: Remove _CRTIMP from pow() prototype, 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