fat_shell: Fix build.
We need the BSD headers for <sys/queue.h> and other things, so we can't use "strict-ansi".
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
SubDir HAIKU_TOP src tools fat_shell ;
|
||||
|
||||
# prevent inclusion of HaikuBuildCompatibility.h and BSD headers
|
||||
DEFINES += HAIKU_BUILD_COMPATIBILITY_H __STRICT_ANSI__ ;
|
||||
# prevent inclusion of HaikuBuildCompatibility.h
|
||||
DEFINES += HAIKU_BUILD_COMPATIBILITY_H ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
@@ -10,12 +10,7 @@ DEFINES += HAIKU_BUILD_COMPATIBILITY_H __STRICT_ANSI__ ;
|
||||
;
|
||||
defines = [ FDefines $(defines) ] ;
|
||||
|
||||
local c++flags =
|
||||
-fno-rtti
|
||||
;
|
||||
if $(HOST_CC_IS_LEGACY_GCC) != 1 {
|
||||
c++flags += -std=c++11 ;
|
||||
}
|
||||
local c++flags = -fno-rtti ;
|
||||
|
||||
SubDirCcFlags $(defines) [ FDefines _FSSH_AUTO_LOCKER_H=1 _FSSH_STACK_H=1 ] ;
|
||||
# prevent inclusion of C++ headers
|
||||
|
||||
Reference in New Issue
Block a user