fix the CI failure of target specific option mismatch
authorQiyu8 <fangchunlin@huawei.com>
Thu, 12 Nov 2020 12:31:03 +0000 (20:31 +0800)
committerQiyu8 <fangchunlin@huawei.com>
Thu, 12 Nov 2020 12:31:03 +0000 (20:31 +0800)
kernel/Makefile

index fb1d5d3..fd9105f 100644 (file)
@@ -5,6 +5,10 @@ endif
 TOPDIR = ..
 include $(TOPDIR)/Makefile.system
 
+ifdef HAVE_FMA3
+CFLAGS += -mfma
+endif
+
 ifeq ($(ARCH), power)
 ifeq ($(C_COMPILER), CLANG)
  override CFLAGS += -fno-integrated-as