Skip to content

Commit

Permalink
simple g++ compiler options that make sense
Browse files Browse the repository at this point in the history
  • Loading branch information
cjang committed Oct 19, 2010
1 parent 2031bfc commit 5384a5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile.common
Expand Up @@ -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
Expand Down

0 comments on commit 5384a5d

Please sign in to comment.