Skip to content

Instantly share code, notes, and snippets.

@jbub
Created April 7, 2014 18:43
Show Gist options
  • Save jbub/10028585 to your computer and use it in GitHub Desktop.
Save jbub/10028585 to your computer and use it in GitHub Desktop.
Fix for OS X 10.9 to ignore unused arguments errors in compilers to be able to install python packages using pip.
# compilers flags
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
export ARCHFLAGS=-Wunused-command-line-argument-hard-error-in-future
# passing -E options to respect environment variables
sudo -E pip install -U lxml numpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment