]> xenbits.xensource.com Git - mini-os.git/commit
x86: fix building with Clang
authorJan Beulich <jbeulich@suse.com>
Wed, 13 Dec 2023 09:48:41 +0000 (10:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 13 Dec 2023 09:48:41 +0000 (10:48 +0100)
commit078cba0bc93f48132a66764b36e95740b9e5630d
tree99679700c4c8557930c904b2f52e8f55a2b05067
parent090eeeb1631f00a9a41ebf66d9b4aacb97eb51e7
x86: fix building with Clang

It doesn't understand -fno-reorder-blocks. Whether without that option
the resulting binary is actually functional I can't tell, though.

For $(cc-option ...) to be usable in arch.mk, at least CC needs setting
earlier in Config.mk. Move up the entire "Set tools" section.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Config.mk
arch/x86/arch.mk