From 03d56c4b9c04b84b17b44646808e6ae7330f16f7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Nov 2014 19:17:45 +0100 Subject: [PATCH] build-profiles: force -mtune=generic on native x86_64. --- common/build-profiles/x86_64-musl.sh | 2 +- common/build-profiles/x86_64.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/build-profiles/x86_64-musl.sh b/common/build-profiles/x86_64-musl.sh index cc8f13a4fb5..e0accd3f22a 100644 --- a/common/build-profiles/x86_64-musl.sh +++ b/common/build-profiles/x86_64-musl.sh @@ -1,3 +1,3 @@ -XBPS_CFLAGS="-O2 -pipe -fstack-protector" +XBPS_CFLAGS="-O2 -mtune=generic -pipe -fstack-protector" XBPS_CXXFLAGS="$XBPS_CFLAGS" XBPS_TRIPLET="x86_64-unknown-linux-musl" diff --git a/common/build-profiles/x86_64.sh b/common/build-profiles/x86_64.sh index 89539659bc0..5e95cbd1060 100644 --- a/common/build-profiles/x86_64.sh +++ b/common/build-profiles/x86_64.sh @@ -1,3 +1,3 @@ -XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong" +XBPS_CFLAGS="-O2 -mtune=generic -pipe -fstack-protector-strong" XBPS_CXXFLAGS="$XBPS_CFLAGS" XBPS_TRIPLET="x86_64-unknown-linux-gnu"