-O ausschalten

This commit is contained in:
Enno Rehling 2006-04-04 20:26:31 +00:00
parent 0c5ff9f447
commit 029a187be0
1 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,6 @@
C++ = g++ ; C++ = g++ ;
CC = gcc ; CC = gcc ;
LINK = gcc ; LINK = gcc ;
# ECHO $(JAMUNAME) ; # ECHO $(JAMUNAME) ;
# LINKFLAGS += -rdynamic ; # LINKFLAGS += -rdynamic ;
@ -132,12 +131,14 @@ rule TargetDirectory
LOCATE_TARGET = $(ALL_LOCATE_TARGET) $(path) ; LOCATE_TARGET = $(ALL_LOCATE_TARGET) $(path) ;
SOURCE_GRIST = $(path) ; SOURCE_GRIST = $(path) ;
if $(DEBUG) = 1 { if $(DEBUG) = 1 {
SubDirCcFlags -ggdb -O0 ; SubDirCcFlags -ggdb ;
SubDirC++Flags -ggdb -O0 ; SubDirC++Flags -ggdb ;
OPTIM = -O0 ;
} }
else { else {
SubDirCcFlags -DNDEBUG -O3 -mtune=$(CPU) ; SubDirCcFlags -DNDEBUG -mtune=$(CPU) ;
SubDirC++Flags -DNDEBUG -O3 -mtune=$(CPU) ; SubDirC++Flags -DNDEBUG -mtune=$(CPU) ;
OPTIM = -O3 ;
} }
} }