Commit 48a442b
build: aix add conditonal flags for clang builds
Some gcc flags dont work on clang:
-mfprnd
-mno-popcntb
-fno-extern-tls-init
So now we conditionally add them when clang is not enabled
Also for clang builds we need to pass some additonal flags:
-fno-integrated-as
-fno-xl-pragma-pack
These flags are discuessed in:
https://chromium-review.googlesource.com/c/chromium/src/+/7120638
PR-URL: #62656
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>1 parent 730fa6a commit 48a442b
2 files changed
+30
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
594 | 606 | | |
595 | 607 | | |
596 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
334 | 339 | | |
335 | 340 | | |
336 | | - | |
337 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
338 | 347 | | |
339 | 348 | | |
340 | 349 | | |
| |||
593 | 602 | | |
594 | 603 | | |
595 | 604 | | |
596 | | - | |
| 605 | + | |
597 | 606 | | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
598 | 612 | | |
599 | 613 | | |
600 | 614 | | |
| |||
0 commit comments