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:
KireinaHoro
2017-10-11 13:36:26 +08:00
parent a7ec8c47e2
commit e102b1b515
+2 -1
View File
@@ -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