build: disable -Og when building with clang
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 4 May 2015 15:08:15 +0000 (17:08 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 4 May 2015 15:25:44 +0000 (17:25 +0200)
commite67542ae17510e3657c2a946fde3dee4d775ac88
tree5c382015945264864a01ee0a01ba8aa4fd5b0457
parent279f6116aa7927532b8fab0b09a17709bc83c651
build: disable -Og when building with clang

clang does not yet support -Og, fall back to -O0.

See: https://llvm.org/bugs/show_bug.cgi?id=20765
Fixes: https://github.com/iojs/io.js/issues/1608
PR-URL: https://github.com/iojs/io.js/pull/1609
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
common.gypi