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:
@@ -8,6 +8,9 @@ SubDir OBOS_TOP src add-ons kernel file_systems bfs ;
|
|||||||
|
|
||||||
if $(DEBUG) {
|
if $(DEBUG) {
|
||||||
defines += DEBUG ;
|
defines += DEBUG ;
|
||||||
|
} else {
|
||||||
|
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||||
|
OPTIM = -O1 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
defines = [ FDefines $(defines) ] ;
|
defines = [ FDefines $(defines) ] ;
|
||||||
|
|||||||
Reference in New Issue
Block a user