Skip to content

Instantly share code, notes, and snippets.

@OdinsHat
Last active August 29, 2015 14:01
Show Gist options
  • Save OdinsHat/7eae263cb04079a338e4 to your computer and use it in GitHub Desktop.
Save OdinsHat/7eae263cb04079a338e4 to your computer and use it in GitHub Desktop.
Bypass clang: error: unknown argument: '-mno-fused-madd'

Bypass clang: error: unknown argument: '-mno-fused-madd'

When installing Python packages on OSX Mavericks there will be a Clang error akin to this: clang: error: unknown argument: '-mno-fused-madd' To bypass this you need to tell Clang to ignore unknown flags So far this problem has occured with xattr and PIL/pilow but this command fixed both

Installing PIL/pillow on OSX Mavericks 10.9

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pillow

Installing xattr on OSX Mavericks 10.9

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install xattr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment