Skip to content

Commit a4f5e15

Browse files
committed
Checked -machine <arch> option
1 parent f21a13d commit a4f5e15

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

cmake/Zend/cmake/Fibers.cmake

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,7 @@ block()
118118
set(asmFile "i386_ms_pe_masm.asm")
119119
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|ARM64)$")
120120
set(asmFile "arm64_aapcs_pe_armasm.asm")
121-
122-
set(
123-
compileOptions
124-
/nologo
125-
# TODO: Recheck; "-machine" is a linker option.
126-
-machine ARM64
127-
)
121+
set(compileOptions /nologo -machine ARM64)
128122
endif()
129123

130124
if(asmFile AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|ARM64)$")

0 commit comments

Comments
 (0)