Apply -fallow-argument-mismatch option when gcc version is larger than 10.0.0 20/303020/2 accepted/tizen_unified accepted/tizen_unified_riscv tizen accepted/tizen/unified/20231220.165119 accepted/tizen/unified/riscv/20231219.110018
authorTae-Young Chung <ty83.chung@samsung.com>
Tue, 19 Dec 2023 02:44:18 +0000 (11:44 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 19 Dec 2023 03:05:07 +0000 (12:05 +0900)
commitf962d5b88cabc5c182a15ceb0d6a13b20cee5c3c
tree91220e2393520b3feeeb1498ad0997e3b4efe70b
parent7417d8ccded593c7131fd3c2079b0270e4696755
Apply -fallow-argument-mismatch option when gcc version is larger than 10.0.0

riscv64, armv7l, i586, x86_64 with gcc 13.1.0 in Riscv repository and
aarch64, armv7l, i586, x86_64 with gcc 9.2.0 in Unified repository should be built without build error.
With a previous commit, armv7l, i586, x86_64 in Riscv repo. got build
failed. So, remove %ifarch ~ %endif from a spec file.
Instead, add a patch checking gcc version and then applying the option if the version
is larger than 10.0.0.

Change-Id: Ie9d1dc7421eb91d116077b7abe6520d05af62836
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/1001-TIZEN-LAPACK-GCC13.patch [new file with mode: 0644]
packaging/lapack.spec