Skip to content

Instantly share code, notes, and snippets.

@kirang89
Last active August 29, 2015 14:00
Show Gist options
  • Save kirang89/11266801 to your computer and use it in GitHub Desktop.
Save kirang89/11266801 to your computer and use it in GitHub Desktop.
Bypassing “clang: error: unknown argument”

To Bypass the clang error:

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

while pip installing some package, run the following command before pip install:

export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" 

pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment