summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-19 17:33:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-26 21:05:58 +0000
commit21c012659a36835837b21b7a2bf1f12428aa16a4 (patch)
treeec3667c8ff3d42c68c0f1b0cbce67ab076d22207
parente74b416231610ce3962e5b7bc21bd382579802ad (diff)
downloadopenembedded-core-21c012659a36835837b21b7a2bf1f12428aa16a4.tar.gz
conf/sdk/x86-64: Set march specifically
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>
-rw-r--r--meta/conf/machine-sdk/x86_64.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf
index 2ab607e65c..3396f95d69 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 = ""