Skip to content

Instantly share code, notes, and snippets.

@ice799
Created November 7, 2010 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ice799/666785 to your computer and use it in GitHub Desktop.
Save ice799/666785 to your computer and use it in GitHub Desktop.
wat
is_gcc_m64() {
if test `echo $CFLAGS | grep "\-m64" -c` -eq 1 ; then echo ppc64;
else
if test `echo $CC | grep "\-m64" -c` -eq 1 ; then echo ppc64; else echo ppc32; fi;
fi;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment