If debugging is disabled and the "release build" of BFS is done, optimization

is no only "-O1", since gcc obviously produces bad code if compiled with more.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@996 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-09-08 17:08:45 +00:00
parent a130fd5520
commit f1e38490eb
@@ -8,6 +8,9 @@ SubDir OBOS_TOP src add-ons kernel file_systems bfs ;
if $(DEBUG) {
defines += DEBUG ;
} else {
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
OPTIM = -O1 ;
}
defines = [ FDefines $(defines) ] ;