Commit 2e72479
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>
(cherry picked from commit 48a442b)1 parent e619adf commit 2e72479Copy full SHA for 2e72479
2 files changed
+30-4Lines changed: 30 additions & 4 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- tools/v8_gypfiles
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+12Lines changed: 12 additions & 0 deletions
| 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 | |
|
Collapse file
tools/v8_gypfiles/toolchain.gypi
Copy file name to clipboardExpand all lines: tools/v8_gypfiles/toolchain.gypi+18-4Lines changed: 18 additions & 4 deletions
| 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