diff mbox series

[3/3] conf/sdk/x86-64: Set march specifically

Message ID 20230125222221.2462169-3-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 21c012659a36835837b21b7a2bf1f12428aa16a4
Headers show
Series [1/3] bitbake.conf: Add METADATA_REVSISION to BB_HASH_CODEPARSER_VALS | expand

Commit Message

Richard Purdie Jan. 25, 2023, 10:22 p.m. UTC
This is really no change since it is currently the default in gcc but
making it explicit matches the other SDKMACHINE configs and means if gcc
ever changes, or we switch compilers, the flag is present. It also makes
it clear from the config which tuning is in use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/machine-sdk/x86_64.conf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf
index 2ab607e65c2..3396f95d69d 100644
--- a/meta/conf/machine-sdk/x86_64.conf
+++ b/meta/conf/machine-sdk/x86_64.conf
@@ -1,3 +1,4 @@ 
 SDK_ARCH = "x86_64"
+SDK_CC_ARCH = "-march=x86-64"
 ABIEXTENSION:class-crosssdk = ""
 ABIEXTENSION:class-nativesdk = ""