Private tap: use brew g++ instaead of apple

(Iltommi) #1

Hi,
I have a private formula which needs the latest installed g++ (https://github.com/iltommi/homebrew-brews/blob/master/smilei.rb).
I set by hand the HOMEBREW_CXX = g++-8.

Is there a way to avoid to edit the formula when g++ is bumped to version 9 ?

thanks

This is my first formula from scratch.

0 Likes

(Jonathan Chang) #2

Try adding fails_with => :clang

1 Like

(Iltommi) #3

It was without =>, just fails_with :clang

This helps a lot! thanks

0 Likes