Skip to content

Fails to build with multiple CXXFLAGS #141

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi,

(I am currently updating the Pingus Debian package)

Building pingus with more than one CXXFLAGS passed to scons on the command line 
fails. For instance:
scons CXXFLAGS='-g -O2'

A bit of investigation shows that this is because CXXFLAGS are passed as list 
in SConscript and scons doesn't mix well strings and list. I asked on the scons 
mailing list and the best answer I got was to use SCons.Util.CLVar.

The attached patch fixes this issue accordingly, please include it in the next 
version of Pingus.

Thanks,
Bertrand

Original issue reported on code.google.com by BeberK...@gmail.com on 10 Aug 2014 at 12:25

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions