From e102b1b51521f8444b5512796dca92e1c0518d1f Mon Sep 17 00:00:00 2001 From: KireinaHoro Date: Wed, 11 Oct 2017 13:36:26 +0800 Subject: [PATCH] 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 --- lib/libspl/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libspl/Makefile.am b/lib/libspl/Makefile.am index 28ae15351..7efadae8e 100644 --- a/lib/libspl/Makefile.am +++ b/lib/libspl/Makefile.am @@ -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