GYPFLAGS="-Dclang=0" when using ninja build ?

31 views
Skip to first unread message

Deepak Subramanian

unread,
Apr 25, 2016, 7:36:37 AM4/25/16
to v8-users
Hi I am looking to use g++ as my default. I used to use GYPFLAGS="-Dclang=0" when using make. Is there a way I can accomplish the same thing using ninja .

My main issue is that I am moving my build to chromium and I want to continue using g++.

Ben Noordhuis

unread,
Apr 25, 2016, 12:37:52 PM4/25/16
to v8-users
GYP's build.ninja generator respects the CC and CXX environment
variables so I think you should be able to just `env CXX=g++ python
build/gyp_v8` or however you invoke GYP.

Deepak Subramanian

unread,
Apr 25, 2016, 2:53:37 PM4/25/16
to v8-users
Thanks :) 
Reply all
Reply to author
Forward
0 new messages