Skip to content

Commit

Permalink
Comment out forcing SWIFT_SDKS=OSX line
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Oct 14, 2019
1 parent 8ed8049 commit 0f3af1d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -657,13 +657,6 @@ endif()
# Configure SDKs.
#

if(XCODE)
# FIXME: Cannot cross-compile the standard library using Xcode. Xcode
# insists on passing -mmacosx-version-min to the compiler, and we need
# to pass -mios-version-min. Clang sees both options and complains.
set(SWIFT_SDKS "OSX")
endif()

# FIXME: the parameters we specify in SWIFT_SDKS are lacking architecture specifics,
# so we need to hard-code it. For example, the SDK for Android is just 'ANDROID',
# which we assume below to be armv7.
Expand Down

0 comments on commit 0f3af1d

Please sign in to comment.