mac で clang: error: unknown argument: '-mno-fused-madd' → ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future

投稿者: ytyng 9年, 11ヶ月 前
$ pip install reportlab

したら

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

error: command 'cc' failed with exit status 1

となった。

依存パッケージ (pillow?) のインストール時に出てるっぽい

Fix 'clang: unknown argument' error after updating to Xcode 5.1

http://kaspermunck.github.io/2014/03/fixing-clang-error/

ここを参考に

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install reportlab
現在未評価

コメント

アーカイブ

2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011