Changed compiler flags to allow tinter code to work on x86 (see tuxpaint-devel)
This commit is contained in:
parent
f9b5f0b4bf
commit
54636b8328
2 changed files with 6 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -96,7 +96,8 @@ SDL_CFLAGS=$(shell sdl-config --cflags)
|
||||||
|
|
||||||
# The entire set of 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 \
|
-Wcast-align -Wredundant-decls \
|
||||||
-Wbad-function-cast -Wwrite-strings \
|
-Wbad-function-cast -Wwrite-strings \
|
||||||
-Waggregate-return \
|
-Waggregate-return \
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,10 @@ $Id$
|
||||||
* Factor out general CFLAGS to facilitate packaging. Compress man page -9.
|
* Factor out general CFLAGS to facilitate packaging. Compress man page -9.
|
||||||
Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
|
Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
|
||||||
|
|
||||||
|
* Building with "-ffloat-store" in CFLAGS (instead of "-ffast-math")
|
||||||
|
to allow stamp tinting code to work properly.
|
||||||
|
Thanks to: Albert Cahalan <albert@users.sf.net>
|
||||||
|
|
||||||
* Bug Fixes:
|
* Bug Fixes:
|
||||||
----------
|
----------
|
||||||
* Tux Paint's scalable icon (tuxpaint-icon.svg) caused Gnome panel to
|
* Tux Paint's scalable icon (tuxpaint-icon.svg) caused Gnome panel to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue