Commit bff8f31a authored by Anas Nashif's avatar Anas Nashif
Browse files

tests: unit: do not build with -m32 on macOS



on macOS, i386 is deprecated, so build as 64bit instead.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent dffc9444
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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