LoginSignup
19
18

More than 5 years have passed since last update.

Macでgem installでunknown argument: '-multiply_definedsuppress'のエラー時の対応

Posted at

Apple LLVM 5.1 の clang になってから、gem installすると

clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]

なエラーになる。
回避策としては、

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install XXX

としてやるとインストール可能。

19
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
18