Skip to content

Commit d64a903

Browse files
cmake: Only set toolchain when APPLE
1 parent ac01a9c commit d64a903

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/i686-elf-toolchain.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
if(APPLE) # Only use toolchain for macaroni
12
# This is not an actual crosscompile toolchain
23
# but it do make it possible to compile on Mac with
34
#
@@ -37,3 +38,4 @@ set(CMAKE_FIND_ROOT_PATH ${INCLUDEOS_BIN})
3738
#
3839
# This can be done with /etc/install_binutils.sh
3940
#set(_CMAKE_TOOLCHAIN_PREFIX ${target}-)
41+
endif()

0 commit comments

Comments
 (0)