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 ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
local defines ;
|
||||
|
||||
if $(DEBUG) {
|
||||
defines += DEBUG ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
|
||||
}
|
||||
# set some additional flags
|
||||
SubDirCcFlags -Wall ;
|
||||
|
||||
R5KernelAddon rtl8139 : [ FDirName kernel drivers network ] :
|
||||
driver.c
|
||||
|
||||
@@ -1,16 +1,7 @@
|
||||
SubDir OBOS_TOP src add-ons kernel drivers network sis900 ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
local defines ;
|
||||
|
||||
if $(DEBUG) {
|
||||
defines += DEBUG ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) -Wall -Wno-multichar ;
|
||||
}
|
||||
# set some additional flags
|
||||
SubDirCcFlags -Wall ;
|
||||
|
||||
R5KernelAddon sis900 : [ FDirName kernel drivers network ] :
|
||||
driver.c
|
||||
|
||||
@@ -13,9 +13,7 @@ oldOPTIM = $(OPTIM) ;
|
||||
defines += COMPILE_FOR_R5 ;
|
||||
}
|
||||
|
||||
if $(DEBUG) {
|
||||
defines += DEBUG ;
|
||||
} else {
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
@@ -13,9 +13,7 @@ oldOPTIM = $(OPTIM) ;
|
||||
defines += COMPILE_FOR_R5 ;
|
||||
}
|
||||
|
||||
if $(DEBUG) {
|
||||
defines += DEBUG ;
|
||||
} else {
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
@@ -13,9 +13,7 @@ oldOPTIM = $(OPTIM) ;
|
||||
defines += COMPILE_FOR_R5 ;
|
||||
}
|
||||
|
||||
if $(DEBUG) {
|
||||
#defines += DEBUG ;
|
||||
} else {
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user