clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
If you got this error while installing a gem, it's because the compiler changed with release of Xcode 5.1. A quick fix is to change the ARCHFLAGS
For example, installing a gem named babelish:
sudo ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" gem install babelish
Note: found the solution on SO (without quotes), but did not work until I use the double quotes.
Written by François Benaiteau
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#