Commit c68dccb
committed
Only emit SIMD compiler flags on x86-based platforms
Enabling the SSE4.2 or AVX SIMD flags on non-x86 based platforms will
result in a compilation error stating that the -msse4.2 and -mavx flags
cannot be found. This patch causes the flags to only be emitted on x86-based
platforms.
Signed-off-by: jmather-sesi <54645798+jmather-sesi@users.noreply.github.com>1 parent f81d1aa commit c68dccb
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
391 | 393 | | |
392 | 394 | | |
393 | 395 | | |
394 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
395 | 399 | | |
396 | 400 | | |
397 | 401 | | |
| |||
0 commit comments