hadrian: build C/C++ with split sections when enabled
When split sections is enabled, ensure -fsplit-sections is passed to GHC as well when invoking GHC to compile C/C++; and pass -ffunction-sections -fdata-sections to gcc/clang when compiling C/C++ with the hadrian Cc builder. Fixes #23381. (cherry picked from commit 0958937e)
Loading
-
mentioned in commit 3a79c6f2
-
mentioned in commit 26d50139
-
mentioned in commit c64a9363
-
mentioned in commit e1818b31
-
mentioned in commit 6de1c17d
-
mentioned in commit 3433cd3f
-
mentioned in commit 89a3f6b7
-
mentioned in commit a91a5335
-
mentioned in commit 0c100cba
-
mentioned in commit a439fa6f
-
mentioned in commit c5603b55
-
mentioned in commit ecb3705f
-
mentioned in commit 659b3955
-
mentioned in commit 352ef7be
-
mentioned in commit da656acd
-
mentioned in commit 35c5fe69
Please register or sign in to comment