Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140599 | Differences between
and this patch

Collapse All | Expand All

(-)/var/tmp/portage/mapnik-0.3.0/work/mapnik-0.3.0/SConstruct (-2 / +3 lines)
Lines 44-49 Link Here
44
opts.Add('DEBUG', 'Compile a debug version of mapnik', '')
44
opts.Add('DEBUG', 'Compile a debug version of mapnik', '')
45
45
46
env = Environment(ENV=os.environ, options=opts)
46
env = Environment(ENV=os.environ, options=opts)
47
env.SConsignFile(".sconsign")
47
48
48
Help(opts.GenerateHelpText(env))
49
Help(opts.GenerateHelpText(env))
49
50
Lines 133-141 Link Here
133
# Setup the c++ args for our own codebase
134
# Setup the c++ args for our own codebase
134
135
135
if env['DEBUG']:
136
if env['DEBUG']:
136
    env.Append(CXXFLAGS = '-ansi -Wall -ftemplate-depth-100 -O0 -fno-inline -g -pthread -DDEBUG')
137
    env.Append(CXXFLAGS = '-ansi -Wall -ftemplate-depth-100 -fno-inline -g -pthread -DDEBUG')
137
else:
138
else:
138
    env.Append(CXXFLAGS = '-ansi -Wall -ftemplate-depth-100 -O3 -finline-functions -Wno-inline -pthread -DNDEBUG')
139
    env.Append(CXXFLAGS = '-ansi -Wall -ftemplate-depth-100 -finline-functions -Wno-inline -pthread -DNDEBUG')
139
140
140
# Build agg first, doesn't need anything special
141
# Build agg first, doesn't need anything special
141
142

Return to bug 140599