From 54636b8328d673272bb9b8d993b5faae9c276530 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Mon, 13 Mar 2006 00:34:05 +0000 Subject: [PATCH] Changed compiler flags to allow tinter code to work on x86 (see tuxpaint-devel) --- Makefile | 3 ++- docs/CHANGES.txt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9f6776bf6..f4a122199 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,8 @@ SDL_CFLAGS=$(shell sdl-config --cflags) # The entire set of CFLAGS: -CFLAGS=-O2 -W -Wall -fno-common -ffast-math \ +#-ffast-math +CFLAGS=-O2 -W -Wall -fno-common -ffloat-store \ -Wcast-align -Wredundant-decls \ -Wbad-function-cast -Wwrite-strings \ -Waggregate-return \ diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index a2a4b5607..42beb75e2 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -117,6 +117,10 @@ $Id$ * Factor out general CFLAGS to facilitate packaging. Compress man page -9. Ben Armstrong + * Building with "-ffloat-store" in CFLAGS (instead of "-ffast-math") + to allow stamp tinting code to work properly. + Thanks to: Albert Cahalan + * Bug Fixes: ---------- * Tux Paint's scalable icon (tuxpaint-icon.svg) caused Gnome panel to