]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
conf/sdk/x86-64: Set march specifically
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2023 17:33:14 +0000 (17:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2023 21:05:58 +0000 (21:05 +0000)
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

index 2ab607e65c227fb5b21bbcb32f53765be1cf4275..3396f95d69d759b7a673ae15a8c44ad8c049e035 100644 (file)
@@ -1,3 +1,4 @@
 SDK_ARCH = "x86_64"
+SDK_CC_ARCH = "-march=x86-64"
 ABIEXTENSION:class-crosssdk = ""
 ABIEXTENSION:class-nativesdk = ""