Reset cpu property flags between build cycles in DYNAMIC_ARCH mode

This commit is contained in:
Martin Kroeker 2020-11-07 20:37:03 +01:00 committed by GitHub
parent ccb9731c7b
commit a04f532edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -252,6 +252,22 @@ DUMMY := $(shell $(MAKE) -C $(TOPDIR) -f Makefile.prebuild CC="$(CC)" FC="$(FC)"
ifndef TARGET_CORE ifndef TARGET_CORE
include $(TOPDIR)/Makefile.conf include $(TOPDIR)/Makefile.conf
else else
undefine HAVE_NEON
undefine HAVE_VFP
undefine HAVE_VFPV3
undefine HAVE_VFPV4
undefine HAVE_MMX
undefine HAVE_SSE
undefine HAVE_SSE2
undefine HAVE_SSE3
undefine HAVE_SSSE3
undefine HAVE_SSE4_1
undefine HAVE_SSE4_2
undefine HAVE_SSE4A
undefine HAVE_SSE5
undefine HAVE_AVX
undefine HAVE_AVX2
undefine HAVE_FMA3
include $(TOPDIR)/Makefile_kernel.conf include $(TOPDIR)/Makefile_kernel.conf
endif endif
@ -1522,6 +1538,8 @@ export HAVE_SSE4_2
export HAVE_SSE4A export HAVE_SSE4A
export HAVE_SSE5 export HAVE_SSE5
export HAVE_AVX export HAVE_AVX
export HAVE_AVX2
export HAVE_FMA3
export HAVE_VFP export HAVE_VFP
export HAVE_VFPV3 export HAVE_VFPV3
export HAVE_VFPV4 export HAVE_VFPV4