diff options
author | Andy Fiddaman <omnios@citrus-it.co.uk> | 2022-01-17 23:24:24 +0000 |
---|---|---|
committer | Andy Fiddaman <omnios@citrus-it.co.uk> | 2022-01-24 10:25:07 +0000 |
commit | 49a4bc70cea348bb81385206be344cf03f3d2b7c (patch) | |
tree | 4a157ecb9509a7fac5efae0a3f1b90e387b4f754 /usr/src | |
parent | dee7ba860656acbc12d71ef94c95f07396697c49 (diff) | |
download | illumos-gate-49a4bc70cea348bb81385206be344cf03f3d2b7c.tar.gz |
14417 Disable gcc's reorder-blocks-and-partition optimisation
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/Makefile.master | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/Makefile.master b/usr/src/Makefile.master index 274a11f0a9..bb67c95899 100644 --- a/usr/src/Makefile.master +++ b/usr/src/Makefile.master @@ -394,7 +394,8 @@ CCNOAUTOINLINE= \ # # Since at present we don't benefit from this even in userland, we disable it globally, # but the application of this may move into usr/src/uts/ in future. -CCNOREORDER= -_gcc=-fno-reorder-functions +CCNOREORDER= -_gcc=-fno-reorder-functions \ + -_gcc=-fno-reorder-blocks-and-partition # # gcc has a rather aggressive optimization on by default that infers loop |