From 90e8d7253b96939faf618ccfad793a382147c228 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 24 Aug 2007 21:07:24 +0000 Subject: [PATCH] Don't include Haiku's POSIX headers for host platform builds. Big no-no. Bash builds for BeOS R5 again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22051 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/bash/Jamfile | 4 ---- src/bin/bash/lib/glob/Jamfile | 4 ---- src/bin/bash/lib/readline/Jamfile | 4 ---- src/bin/bash/lib/sh/Jamfile | 4 ---- 4 files changed, 16 deletions(-) diff --git a/src/bin/bash/Jamfile b/src/bin/bash/Jamfile index bf9f73c8ef..cac0977bdc 100644 --- a/src/bin/bash/Jamfile +++ b/src/bin/bash/Jamfile @@ -2,10 +2,6 @@ SubDir HAIKU_TOP src bin bash ; SetSubDirSupportedPlatformsBeOSCompatible ; -if $(TARGET_PLATFORM) != haiku { - UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; -} - SubDirCcFlags -DHAVE_CONFIG_H -DPROGRAM='\"sh\"' -DCONF_HOSTTYPE='\"i586\"' -DCONF_OSTYPE='\"beos\"' -DCONF_MACHTYPE='\"i586-pc-beos\"' -DCONF_VENDOR='\"pc\"' -DSHELL ; # filter warnings we don't want here diff --git a/src/bin/bash/lib/glob/Jamfile b/src/bin/bash/lib/glob/Jamfile index befa0de79e..1efbd091bd 100644 --- a/src/bin/bash/lib/glob/Jamfile +++ b/src/bin/bash/lib/glob/Jamfile @@ -2,10 +2,6 @@ SubDir HAIKU_TOP src bin bash lib glob ; SetSubDirSupportedPlatformsBeOSCompatible ; -if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { - UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; -} - # filter warnings we don't want here TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ; diff --git a/src/bin/bash/lib/readline/Jamfile b/src/bin/bash/lib/readline/Jamfile index 116ba7f07c..73b88042a0 100644 --- a/src/bin/bash/lib/readline/Jamfile +++ b/src/bin/bash/lib/readline/Jamfile @@ -2,10 +2,6 @@ SubDir HAIKU_TOP src bin bash lib readline ; SetSubDirSupportedPlatformsBeOSCompatible ; -if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { - UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; -} - # filter warnings we don't want here TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ; diff --git a/src/bin/bash/lib/sh/Jamfile b/src/bin/bash/lib/sh/Jamfile index c581434423..2c25ead22b 100644 --- a/src/bin/bash/lib/sh/Jamfile +++ b/src/bin/bash/lib/sh/Jamfile @@ -2,10 +2,6 @@ SubDir HAIKU_TOP src bin bash lib sh ; SetSubDirSupportedPlatformsBeOSCompatible ; -if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { - UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; -} - # filter warnings we don't want here TARGET_WARNING_CCFLAGS = [ FFilter $(TARGET_WARNING_CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ;