build: Use BeOSBuildCompatibility on Haiku also.

This forces usage of the libroot_build wrapper functions even on GCC2.
Probably fixes some strange ExtractHPKGArchive failures on Haiku.
This commit is contained in:
Augustin Cavalier
2018-07-31 19:50:46 -04:00
parent 2d93cf97c7
commit b5c220fb7d
2 changed files with 5 additions and 4 deletions
+3 -4
View File
@@ -574,10 +574,9 @@ HOST_BE_API_HEADERS =
[ FDirName $(HAIKU_TOP) headers build os support ]
[ FDirName $(HAIKU_TOP) headers build private ]
;
if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
HOST_BE_API_CCFLAGS = -include BeOSBuildCompatibility.h ;
HOST_BE_API_C++FLAGS = $(HOST_BE_API_CCFLAGS) ;
}
HOST_BE_API_CCFLAGS = -include [ FDirName $(HAIKU_TOP) headers build
BeOSBuildCompatibility.h ] ;
HOST_BE_API_C++FLAGS = $(HOST_BE_API_CCFLAGS) ;
#pragma mark - target platform settings