Add configure option --host-only
When specified, the build will be configured for building build host tools only.
This commit is contained in:
@@ -119,7 +119,11 @@ HAIKU_CONFIG_HEADERS = [ FDirName $(HAIKU_TOP) build user_config_headers ]
|
||||
# haiku target platform settings
|
||||
|
||||
# analyze GCC version
|
||||
HAIKU_GCC_VERSION = [ FAnalyzeGCCVersion HAIKU_GCC_RAW_VERSION ] ;
|
||||
if $(HAIKU_HOST_BUILD_ONLY) = 1 {
|
||||
HAIKU_GCC_VERSION = 0 0 0 ;
|
||||
} else {
|
||||
HAIKU_GCC_VERSION = [ FAnalyzeGCCVersion HAIKU_GCC_RAW_VERSION ] ;
|
||||
}
|
||||
|
||||
# enable GCC -pipe option, if requested
|
||||
if $(HAIKU_USE_GCC_PIPE) = 1 {
|
||||
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Error: The build has been configured for building the build host tools" \
|
||||
"only." >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user