Permalink
Browse files

simple g++ compiler options that make sense

  • Loading branch information...
1 parent 2031bfc commit 5384a5dbb83d35665933a632ae357623a441cfda @cjang committed Oct 19, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 Makefile.common
View
@@ -6,11 +6,10 @@ ATI_SDK = $(ATISTREAMSDKROOT)
NVIDIA_SDK = $(NVIDIACUDASDKROOT)
GNU_CC = gcc
-GNU_CFLAGS = -std=c99 -funsafe-math-optimizations -funroll-all-loops
+GNU_CFLAGS = -std=c99 -O2
GNU_CXX = g++
-GNU_CXXFLAGS = -funsafe-math-optimizations -funroll-all-loops
-#-O3 -funroll-all-loops -fexpensive-optimizations -ffast-math -finline-functions -frerun-loop-opt -static-libgcc
+GNU_CXXFLAGS = -O2
AR=ar
RANLIB=ranlib

0 comments on commit 5384a5d

Please sign in to comment.