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:
Ingo Weinhold
2003-08-26 23:17:23 +00:00
parent 65c62a0145
commit c1b7aba392
5 changed files with 7 additions and 31 deletions
@@ -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
+1 -3
View File
@@ -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 ;
}
+1 -3
View File
@@ -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 ;
}