Commit 7709bda
committed
[android] build libxml2 and curl with -fPIC
Sets `CMAKE_POSITION_INDEPENDENT_CODE=YES` when building libxml2 and
curl. This causes `-fPIC` to be passed to clang when compiling, which is
required for the i686 Android build to succeed.
This change makes `build.ps1` consistent with the Python build files
swift_build_support\products\libxml2.py and
swift_build_support\products\curl.py, which already define this cmake
property. It is already propertly set for zlib in both locations.1 parent 736faac commit 7709bda
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
| 1505 | + | |
1505 | 1506 | | |
1506 | 1507 | | |
1507 | 1508 | | |
| |||
1568 | 1569 | | |
1569 | 1570 | | |
1570 | 1571 | | |
| 1572 | + | |
1571 | 1573 | | |
1572 | 1574 | | |
1573 | 1575 | | |
| |||
0 commit comments