[Mesa-dev] [PATCH] scons: Fix build when rtti is disabled

Alexander von Gluck kallisti5 at unixzen.com
Thu Oct 17 01:35:44 CEST 2013


On Wed, 2013-10-16 at 15:20 -0700, Jose Fonseca wrote:
> +            # Match llvm --fno-rtti flag
> +            cxxflags = env.backtick('llvm-config --cxxflags').split()
> +            if '-fno-rtti' in cxxflags:
> +                env.Append(CXXFLAGS = ['-fno-rtti'])

Ah, thats a good idea.  I don't see any reason why it wouldn't work.

It doesn't solve the issue of the broken llvm missing "-fno-rtti"
though.

I'll build a patch with this change and post it to the mailing list.

 -- Alex



More information about the mesa-dev mailing list