The warnings about the SIMD flags specific variables not being set goes
away with this commit. Setting empty strings do not work since then gcc
ends up looking for input files that are the empty string, thus this patch
re-adds -Wall instead of setting an empty string.
sse4_1_cflags = '-msse4.1'
conf.set('USE_SSE4_1', 1, description:
'Define to 1 if sse4.1 assembly is available.')
+ else
+ sse4_1_cflags = '-Wall'
endif
# avx2 assembly
avx2_cflags = '-mavx2'
conf.set('USE_AVX2', 1, description:
'Define to 1 if avx2 assembly is available.')
+ else
+ avx2_cflags = '-Wall'
endif
+ else
+ avx2_cflags = '-Wall'
endif
endif
+ else
+ sse2_cflags = '-Wall'
endif
+ else
+ sse2_args = ['-Wall']
endif
+ else
+ sse_args = ['-Wall']
endif
if cc.has_argument('-mf16c') and get_option('enable-f16c')
if cc.compiles(
'Define to 1 if f16c intrinsics are available.')
endif
endif
+ else
+ sse_args = '-Wall'
endif
+ else
+ mmx_args = '-Wall'
endif
+else
+ mmx_args = '-Wall'
endif
################################################################################