tests: unit: do not build with -m32 on macOS
on macOS, i386 is deprecated, so build as 64bit instead. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
dffc944437
commit
bff8f31aec
|
@ -34,7 +34,10 @@ list(APPEND INCLUDE
|
|||
.
|
||||
)
|
||||
|
||||
set (CMAKE_C_FLAGS "-m32")
|
||||
if(CMAKE_HOST_APPLE)
|
||||
else()
|
||||
set (CMAKE_C_FLAGS "-m32") #deprecated on macOS
|
||||
endif()
|
||||
|
||||
target_compile_options(testbinary PRIVATE
|
||||
-Wall
|
||||
|
|
Loading…
Reference in a new issue