filesystems: we aren't BeOS, so we can safely use -O2(+).
This commit is contained in:
parent
4bb1fc1791
commit
ae495ca8fe
@ -7,11 +7,6 @@ SubDir HAIKU_TOP src add-ons kernel file_systems bfs ;
|
||||
#BFS_BIG_ENDIAN_ONLY
|
||||
;
|
||||
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) ;
|
||||
SubDirC++Flags $(defines) ;
|
||||
|
@ -1,8 +1,5 @@
|
||||
SubDir HAIKU_TOP src add-ons kernel file_systems udf drive_setup_addon ;
|
||||
|
||||
# save original optimization level
|
||||
oldOPTIM = $(OPTIM) ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
local defines =
|
||||
@ -15,9 +12,6 @@ oldOPTIM = $(OPTIM) ;
|
||||
|
||||
if $(DEBUG) {
|
||||
#defines += DEBUG ;
|
||||
} else {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
@ -55,7 +49,3 @@ actions ignore InstallUDFDS
|
||||
}
|
||||
|
||||
InstallUDFDS install : i-udf-ds ;
|
||||
|
||||
# restore original optimization level
|
||||
OPTIM = $(oldOPTIM) ;
|
||||
|
||||
|
@ -2,9 +2,6 @@ SubDir HAIKU_TOP src tests add-ons kernel file_systems bfs r5 ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
# save original optimization level
|
||||
oldOPTIM = $(OPTIM) ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
local defines =
|
||||
@ -27,11 +24,6 @@ oldOPTIM = $(OPTIM) ;
|
||||
bfsAddOnName = obfs ;
|
||||
}
|
||||
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) ;
|
||||
SubDirC++Flags $(defines) -fno-rtti ;
|
||||
@ -75,6 +67,3 @@ actions ignore InstallBFS
|
||||
}
|
||||
|
||||
InstallBFS install : obfs ;
|
||||
|
||||
# restore original optimization level
|
||||
OPTIM = $(oldOPTIM) ;
|
||||
|
@ -3,9 +3,6 @@ SubDir HAIKU_TOP src tests add-ons kernel file_systems udf r5 ;
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
SubDirC++Flags -fno-rtti ;
|
||||
|
||||
# save original optimization level
|
||||
oldOPTIM = $(OPTIM) ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
local defines =
|
||||
@ -14,11 +11,6 @@ oldOPTIM = $(OPTIM) ;
|
||||
|
||||
defines += COMPILE_FOR_R5 ;
|
||||
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) ;
|
||||
SubDirC++Flags $(defines) ;
|
||||
@ -62,8 +54,3 @@ actions ignore InstallUDF
|
||||
}
|
||||
|
||||
InstallUDF install : udf ;
|
||||
|
||||
# restore original optimization level
|
||||
OPTIM = $(oldOPTIM) ;
|
||||
|
||||
SubInclude HAIKU_TOP src tests add-ons kernel file_systems udf r5 drive_setup_addon ;
|
||||
|
@ -2,9 +2,6 @@ SubDir HAIKU_TOP src tests add-ons kernel file_systems udf r5 drive_setup_addon
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
# save original optimization level
|
||||
oldOPTIM = $(OPTIM) ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
local defines =
|
||||
@ -17,9 +14,6 @@ oldOPTIM = $(OPTIM) ;
|
||||
|
||||
if $(DEBUG) {
|
||||
#defines += DEBUG ;
|
||||
} else {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
@ -57,7 +51,3 @@ actions ignore InstallUDFDS
|
||||
}
|
||||
|
||||
InstallUDFDS install : i-udf-ds ;
|
||||
|
||||
# restore original optimization level
|
||||
OPTIM = $(oldOPTIM) ;
|
||||
|
||||
|
@ -11,11 +11,6 @@ SEARCH_SOURCE += $(bfsTop) ;
|
||||
USER=1
|
||||
;
|
||||
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) ;
|
||||
SubDirC++Flags $(defines) -fno-rtti ;
|
||||
|
@ -12,11 +12,6 @@ DEFINES += HAIKU_BUILD_COMPATIBILITY_H ;
|
||||
FS_SHELL
|
||||
;
|
||||
|
||||
if $(DEBUG) = 0 {
|
||||
# the gcc on BeOS doesn't compile BFS correctly with -O2 or more
|
||||
OPTIM = -O1 ;
|
||||
}
|
||||
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
SubDirCcFlags $(defines) -Wno-multichar ;
|
||||
SubDirC++Flags $(defines) -Wno-multichar -fno-rtti ;
|
||||
|
Loading…
Reference in New Issue
Block a user