[cfe-commits] r155102 - in /cfe/trunk: include/clang/AST/Decl.h test/CodeGenCXX/visibility.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Apr 22 07:10:27 PDT 2012


> This is on linux, right? To build I assume I only have to combine
>
> http://www.chromium.org/developers/how-tos/component-build
> and
> http://code.google.com/p/chromium/wiki/Clang
>
> right?

For the record, I was able to build and reproduce this with

export GYP_GENERATORS='ninja'
export GYP_DEFINES='component=shared_library disable_nacl=1'
CC=/home/espindola/llvm/build/bin/clang CXX=/home/espindola/llvm/myclang++
ninja -C out/Debug/ chrome

where myclang++ is a script:
/home/espindola/llvm/build/bin/clang++ "$@" -Wno-char-subscripts
-Wno-unused-function -Wno-c++11-extensions
-Wno-unnamed-type-template-args

I am sure gyp has support for setting, CXXFLAGS on the command line,
but this worked :-)

Debugging the like problem now.

Cheers,
Rafael



More information about the cfe-commits mailing list