powerpc: Fix build errors with Open XL C

This patch fixes errors when using Open XL C compiler on AIX.
Tested with gcc/xlf and ibm-clang/xlf compiler combinations.
This commit is contained in:
Rajalakshmi Srinivasaraghavan
2023-10-04 14:04:03 -05:00
parent 6287a23fc5
commit db0805906b
3 changed files with 20 additions and 11 deletions

View File

@@ -5,12 +5,6 @@ endif
TOPDIR = ..
include $(TOPDIR)/Makefile.system
ifeq ($(ARCH), power)
ifeq ($(C_COMPILER), CLANG)
override CFLAGS += -fno-integrated-as
endif
endif
AVX2OPT =
ifeq ($(C_COMPILER), GCC)
# AVX2 support was added in 4.7.0