File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ add_compile_options(
176176# a compromise, treat all linker warnings as errors.
177177add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
178178# Ensure all symbols are fully resolved on Linux
179- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
179+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
180180
181181add_compile_options (
182182 $<$<COMPILE_LANGUAGE:Swift>:-explicit-module-build >
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ include(ExperimentalFeatures)
8787# a compromise, treat all linker warnings as errors.
8888add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
8989# Ensure all symbols are fully resolved on Linux
90- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
90+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
9191
9292include (ExperimentalFeatures)
9393
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ add_compile_options(
8989# `_fatalErrorForwardModeDifferentiationDisabled`
9090# add_link_options($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
9191# Ensure all symbols are fully resolved on Linux
92- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
92+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
9393
9494if (SwiftDifferentiation_ENABLE_VECTOR_TYPES)
9595 gyb_expand(SIMDDifferentiation.swift.gyb SIMDDifferentiation.swift)
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ add_compile_options(
100100# a compromise, treat all linker warnings as errors.
101101add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
102102# Ensure all symbols are fully resolved on Linux
103- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
103+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
104104
105105add_library (swiftDistributed
106106 DistributedActor.cpp
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ add_compile_options(
9595# a compromise, treat all linker warnings as errors.
9696add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
9797# Ensure all symbols are fully resolved on Linux
98- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
98+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
9999
100100add_library (swiftObservation
101101 Sources /Observation/Locking.swift
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ add_compile_options(
6868# a compromise, treat all linker warnings as errors.
6969add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
7070# Ensure all symbols are fully resolved on Linux
71- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
71+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
7272
7373add_subdirectory (_RegexParser)
7474add_subdirectory (_StringProcessing)
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ add_compile_options(
104104# a compromise, treat all linker warnings as errors.
105105add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
106106# Ensure all symbols are fully resolved on Linux
107- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
107+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
108108
109109gyb_expand(Atomics/AtomicIntegers.swift.gyb Atomics/AtomicIntegers.swift)
110110gyb_expand(Atomics/AtomicStorage.swift.gyb Atomics/AtomicStorage.swift)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ add_compile_options(
7979# a compromise, treat all linker warnings as errors.
8080add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
8181# Ensure all symbols are fully resolved on Linux
82- add_link_options ($<$<PLATFORM_ID:Linux>:LINKER:-z,defs>)
82+ add_link_options ($<$<PLATFORM_ID:Android, Linux>:LINKER:-z,defs>)
8383
8484add_library (swift_Volatile
8585 Volatile.swift)
You can’t perform that action at this time.
0 commit comments