diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-04-21 01:56:45 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2019-04-21 01:56:45 +0200 |
commit | 3a2d48852ad356ec7f192a0dfcaf7c970278ea98 (patch) | |
tree | 03eab238b8066f52b2066a05263cd04477c22436 /profiles | |
parent | profiles: Make sure we get python patched for riscv (diff) | |
download | riscv-3a2d48852ad356ec7f192a0dfcaf7c970278ea98.tar.gz riscv-3a2d48852ad356ec7f192a0dfcaf7c970278ea98.tar.bz2 riscv-3a2d48852ad356ec7f192a0dfcaf7c970278ea98.zip |
profiles: write -mabi= explicitly in cflags
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/arch/riscv/rv64gc/lp64/make.defaults | 5 | ||||
-rw-r--r-- | profiles/arch/riscv/rv64gc/lp64d/make.defaults | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/profiles/arch/riscv/rv64gc/lp64/make.defaults b/profiles/arch/riscv/rv64gc/lp64/make.defaults index fe2afc5..8c6534c 100644 --- a/profiles/arch/riscv/rv64gc/lp64/make.defaults +++ b/profiles/arch/riscv/rv64gc/lp64/make.defaults @@ -3,6 +3,11 @@ # RISC-V rv64gc/lp64 no-multilib profile +CFLAGS="-O2 -pipe -march=rv64gc -mabi=lp64" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + # We have only one ABI MULTILIB_ABIS="lp64" diff --git a/profiles/arch/riscv/rv64gc/lp64d/make.defaults b/profiles/arch/riscv/rv64gc/lp64d/make.defaults index 7b72704..85372ab 100644 --- a/profiles/arch/riscv/rv64gc/lp64d/make.defaults +++ b/profiles/arch/riscv/rv64gc/lp64d/make.defaults @@ -3,6 +3,11 @@ # RISC-V rv64gc/lp64d no-multilib profile +CFLAGS="-O2 -pipe -march=rv64gc -mabi=lp64d" +CXXFLAGS="${CFLAGS}" +FFLAGS="${CFLAGS}" +FCFLAGS="${CFLAGS}" + # We have only one ABI MULTILIB_ABIS="lp64d" |