Skip to content

Commit a7bbae0

Browse files
committed
Build: not using architecture setting in 64bit common section
resolves: #76
1 parent 777da71 commit a7bbae0

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

make/rebol3.nest

+9-7
Original file line numberDiff line numberDiff line change
@@ -982,8 +982,7 @@ common-host: [
982982
]
983983
]
984984

985-
arch-x64: [
986-
arch: x64
985+
common-64bit: [
987986
define: _FILE_OFFSET_BITS=64
988987

989988
#if Windows? [
@@ -995,9 +994,12 @@ arch-x64: [
995994
;has long (integer) 64 bits
996995
defines: __LP64__ ; same like LLP64, but long (integer) has 64 bits instead of 32
997996
]
998-
#if macOS? [
999-
flag: "-arch x86_64"
1000-
]
997+
]
998+
999+
arch-x64: [
1000+
:common-64bit
1001+
arch: x64
1002+
#if macOS? [ flag: "-arch x86_64" ]
10011003
]
10021004
arch-x86: [
10031005
arch: x86
@@ -1017,14 +1019,14 @@ arch-armv7: [
10171019
]
10181020

10191021
arch-arm64: [ ;= armv8
1020-
:arch-x64
1022+
:common-64bit
10211023
arch: arm64
10221024
#if macOS? [ flag: "-arch arm64" ]
10231025
#if linux? [ flag: "-march=native" ] ;; expects, that the host system is arm64!
10241026
;define: __arm64__
10251027
]
10261028
arch-mips64le: [
1027-
:arch-x64
1029+
:common-64bit
10281030
arch: mips64le
10291031
]
10301032

0 commit comments

Comments
 (0)