1
0
Fork 0

Set host_arch by CROSS_COMPILING

This commit is contained in:
servusoft 2016-08-31 14:24:15 +02:00 committed by GitHub
parent 41832d6334
commit 2ec8ae8698
1 changed files with 3 additions and 2 deletions

View File

@ -61,10 +61,11 @@ list(APPEND V8_GYP_ARGS
)
if (CROSS_COMPILING)
list(APPEND V8_GYP_ARGS -DGYP_CROSSCOMPILE=1)
list(APPEND V8_GYP_ARGS
-Dhost_arch=${V8_PROC_ARCH}
-DGYP_CROSSCOMPILE=1)
endif()
################################################################################
## ICU EXPORTS
################################################################################