Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi/linkdata: Fix flag ignored error with clang-19
Some platforms such as 'x86_64' does not support '-mno-outline-atomics' option, so add a compiler check before it. Fix follow error with clang-19: clang: error: 'x86_64' does not support '-mno-outline-atomics'; flag ignored [-Werror,-Woption-ignored] By the way, EXTRA_{A,C,CPP,LD}FLAGS are deprecated and should be replaced by the new flags added via commit f77bf01 ("kbuild: introduce ccflags-y, asflags-y and ldflags-y"). Fixes: 6572288 ("deepin: arm: scsi: fix build error of linkdata ps3stor driver") Signed-off-by: WangYuli <[email protected]>
- Loading branch information