Do not pass --build-id=none unless cc == clang
Do not pass --build-id=none unless cc == clang

Fixes #345

inconshreveable/gb,constabulary/gb,ches/gb,ches/gb,hyper-carrot/gb,mopemope/gb,tianon/gb,mopemope/gb,mopemope/gb,tianon/gb,davidkaya/gb,tbruyelle/gb,lparkes/gb,inconshreveable/gb,tbruyelle/gb,constabulary/gb,hyper-carrot/gb,davidkaya/gb,constabulary/gb