Skip to content

Commit 67a16e6

Browse files
authored
Merge pull request #2101 from finagolfin/droid
[build-script-helper] Remove unneeded flags for Android
2 parents 254b42a + 0183458 commit 67a16e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Utilities/build-script-helper.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,6 @@ def get_swiftpm_options(swift_exec: str, args: argparse.Namespace, suppress_verb
136136
if '-android' in build_target:
137137
swiftpm_args += [
138138
'-Xlinker', '-rpath', '-Xlinker', '$ORIGIN/../lib/swift/android',
139-
# SwiftPM will otherwise try to compile against GNU strerror_r on
140-
# Android and fail.
141-
'-Xswiftc', '-Xcc', '-Xswiftc', '-U_GNU_SOURCE',
142139
]
143140
elif not build_os.startswith('macosx'):
144141
# Library rpath for swift, dispatch, Foundation, etc. when installing

0 commit comments

Comments
 (0)