Permalink
Browse files

Correction to gcc-compile.sh, perhaps due to more recent version of G…

…CC in Ubuntu 12.04 LTS
  • Loading branch information...
1 parent 1a91dd9 commit 66e91b35114c60bc5fda4c36fbd556556327b382 @jafingerhut committed Oct 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 pidigits/gcc-compile.sh
View
@@ -22,7 +22,8 @@ then
CFLAGS="-Wall -O3"
LDFLAGS="-lgmp"
else
- CFLAGS="-pipe -Wall -O3 -fomit-frame-pointer -march=native -lgmp"
+ CFLAGS="-pipe -Wall -O3 -fomit-frame-pointer -march=native"
+ LDFLAGS="-lgmp"
fi
gcc $CFLAGS pidigits.gcc-4.c $LDFLAGS -o "${GCC_OBJ_DIR}/pidigits.gcc-4.gcc_run"

0 comments on commit 66e91b3

Please sign in to comment.