Fix libspl assembler flags to respect cpu type
It's important to respect the user's CFLAGS as mismatched -mcpu will directly result in the assembler not able to produce correct code. Fixes #6733. Signed-off-by: Pengcheng Xu <i@jsteward.moe>
This commit is contained in:
parent
a7ec8c47e2
commit
e102b1b515
|
@ -13,7 +13,8 @@ DEFAULT_INCLUDES += \
|
|||
-I$(top_srcdir)/lib/libspl/include
|
||||
|
||||
AM_CCASFLAGS = \
|
||||
-I$(top_srcdir)/lib/libspl/include
|
||||
-I$(top_srcdir)/lib/libspl/include \
|
||||
$(CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libspl.la
|
||||
|
||||
|
|
Loading…
Reference in New Issue