Changes reflecting the change of semantics of the DEBUG variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4383 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,16 +1,7 @@
|
|||||||
SubDir OBOS_TOP src add-ons kernel drivers network rtl8139 ;
|
SubDir OBOS_TOP src add-ons kernel drivers network rtl8139 ;
|
||||||
|
|
||||||
# set some additional defines
|
# set some additional flags
|
||||||
{
|
SubDirCcFlags -Wall ;
|
||||||
local defines ;
|
|
||||||
|
|
||||||
if $(DEBUG) {
|
|
||||||
defines += DEBUG ;
|
|
||||||
}
|
|
||||||
|
|
||||||
defines = [ FDefines $(defines) ] ;
|
|
||||||
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
|
|
||||||
}
|
|
||||||
|
|
||||||
R5KernelAddon rtl8139 : [ FDirName kernel drivers network ] :
|
R5KernelAddon rtl8139 : [ FDirName kernel drivers network ] :
|
||||||
driver.c
|
driver.c
|
||||||
|
|||||||
@@ -1,16 +1,7 @@
|
|||||||
SubDir OBOS_TOP src add-ons kernel drivers network sis900 ;
|
SubDir OBOS_TOP src add-ons kernel drivers network sis900 ;
|
||||||
|
|
||||||
# set some additional defines
|
# set some additional flags
|
||||||
{
|
SubDirCcFlags -Wall ;
|
||||||
local defines ;
|
|
||||||
|
|
||||||
if $(DEBUG) {
|
|
||||||
defines += DEBUG ;
|
|
||||||
}
|
|
||||||
|
|
||||||
defines = [ FDefines $(defines) ] ;
|
|
||||||
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
|
|
||||||
}
|
|
||||||
|
|
||||||
R5KernelAddon sis900 : [ FDirName kernel drivers network ] :
|
R5KernelAddon sis900 : [ FDirName kernel drivers network ] :
|
||||||
driver.c
|
driver.c
|
||||||
|
|||||||
@@ -13,9 +13,7 @@ oldOPTIM = $(OPTIM) ;
|
|||||||
defines += COMPILE_FOR_R5 ;
|
defines += COMPILE_FOR_R5 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if $(DEBUG) {
|
if $(DEBUG) = 0 {
|
||||||
defines += DEBUG ;
|
|
||||||
} else {
|
|
||||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||||
OPTIM = -O1 ;
|
OPTIM = -O1 ;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,9 +13,7 @@ oldOPTIM = $(OPTIM) ;
|
|||||||
defines += COMPILE_FOR_R5 ;
|
defines += COMPILE_FOR_R5 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if $(DEBUG) {
|
if $(DEBUG) = 0 {
|
||||||
defines += DEBUG ;
|
|
||||||
} else {
|
|
||||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||||
OPTIM = -O1 ;
|
OPTIM = -O1 ;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,9 +13,7 @@ oldOPTIM = $(OPTIM) ;
|
|||||||
defines += COMPILE_FOR_R5 ;
|
defines += COMPILE_FOR_R5 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if $(DEBUG) {
|
if $(DEBUG) = 0 {
|
||||||
#defines += DEBUG ;
|
|
||||||
} else {
|
|
||||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||||
OPTIM = -O1 ;
|
OPTIM = -O1 ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user