attempt to fix makefile generation

This commit is contained in:
Owen Rafferty 2022-03-28 19:04:30 -05:00
parent 5a4d1b91f5
commit 794dbdf5b0
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB
1 changed files with 3 additions and 3 deletions

View File

@ -349,9 +349,9 @@ printf "CEXTRALIB=%s %s %s\n" "$linker_L" "$linker_l" "$linker_a" >> "$makefile"
printf "HAVE_MSA=1\n" >> "$makefile" printf "HAVE_MSA=1\n" >> "$makefile"
printf "MSA_FLAGS=%s\n" "$msa_flags" >> "$makefile" printf "MSA_FLAGS=%s\n" "$msa_flags" >> "$makefile"
} }
[ "$no_avx512" -eq 1 ] && printf "NO_AVX512=1\n" >> "$makefile" ! [ "$no_avx512" -eq 1 ] || printf "NO_AVX512=1\n" >> "$makefile"
[ "$no_avx2" -eq 1 ] && printf "NO_AVX2=1\n" >> "$makefile" ! [ "$no_avx2" -eq 1 ] || printf "NO_AVX2=1\n" >> "$makefile"
[ "$oldgcc" -eq 1 ] && printf "OLDGCC=1\n" >> "$makefile" ! [ "$oldgcc" -eq 1 ] || printf "OLDGCC=1\n" >> "$makefile"
os="$(echo "$os" | tr '[:lower:]' '[:upper:]'/ )" os="$(echo "$os" | tr '[:lower:]' '[:upper:]'/ )"
architecture="$(echo "$architecture" | tr '[:lower:]' '[:upper:]' )" architecture="$(echo "$architecture" | tr '[:lower:]' '[:upper:]' )"