8000 Set host_arch by CROSS_COMPILING · saliormoon/arangodb@2ec8ae8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ec8ae8

Browse files
authored
Set host_arch by CROSS_COMPILING
1 parent 41832d6 commit 2ec8ae8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

3rdParty/V8/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ list(APPEND V8_GYP_ARGS
6161
)
6262

6363
if (CROSS_COMPILING)
64-
list(APPEND V8_GYP_ARGS -DGYP_CROSSCOMPILE=1)
64+
list(APPEND V8_GYP_ARGS
65+
-Dhost_arch=${V8_PROC_ARCH}
66+
-DGYP_CROSSCOMPILE=1)
6567
endif()
6668

67-
6869
################################################################################
6970
## ICU EXPORTS
7071
################################################################################

0 commit comments

Comments
 (0)
0