Enable pic when building sse2 or higher optimizations. BUG=webm:1464
Unified · Split
| @@ -1312,6 +1312,11 @@ EOF · 1311 unmodified lines | ||
| 1312 | 1312 | check_gcc_machine_option ${ext%_*} $ext |
| 1313 | 1313 | fi |
| 1314 | 1314 | fi |
| 1315 | + | |
| 1316 | + # https://bugs.chromium.org/p/webm/issues/detail?id=1464 | |
| 1317 | + # The assembly optimizations for vpx_sub_pixel_variance do not link with | |
| 1318 | + # gcc 6. | |
| 1319 | + enabled sse2 && soft_enable pic | |
| 1315 | 1320 | done |
| 1316 | 1321 | |
| 1317 | 1322 | if enabled external_build; then |