It runs on the OLPC XO now, unless you run out of memory. Do not even think of using stamps, system fonts, etc.

This commit is contained in:
Albert Cahalan 2007-03-12 03:55:30 +00:00
parent 4097c3d14b
commit 542aaf4cad
3 changed files with 17 additions and 3 deletions

View file

@ -104,7 +104,8 @@ SVG_CFLAGS=-I/usr/include/cairo
# The entire set of CFLAGS:
#-ffast-math
CFLAGS=-O2 -W -Wall -fno-common -ffloat-store \
OPTFLAGS=-O2
CFLAGS=$(OPTFLAGS) -W -Wall -fno-common -ffloat-store \
-Wcast-align -Wredundant-decls \
-Wbad-function-cast -Wwrite-strings \
-Waggregate-return \
@ -184,6 +185,15 @@ nosvg:
make SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG
# "make olpc" builds the program for an OLPC XO:
olpc:
@echo
@echo "Building for an OLPC XO"
@echo
make SVG_LIB= SVG_CFLAGS= NOSVGFLAG=NOSVG OPTFLAGS='-O2 -fno-tree-pre -march=athlon -mtune=generic -mpreferred-stack-boundary=2 -mmmx -m3dnow -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -DOLPC_XO -DSUGAR'
# "make beos" builds the program for BeOS
beos: