Skip to content

Commit

Permalink
python312: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ventureoo committed Jan 8, 2024
1 parent e386389 commit 9ff1e1a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions python-312/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@ build() {
cd "${srcdir}/Python-${pkgver}"

local endianness=$(echo -n I | od -to2 | head -n1 | cut -f2 -d " " | cut -c6)
if [ "$endianness" == "1" ]; then
export ax_cv_c_float_words_bigendian=no
else
export ax_cv_c_float_words_bigendian=yes
fi

# Set the ax_cv_c_float_words_bigendian variable based on the Python output
if [ "$endianness" == "little" ]; then
if [ "$endianness" == "1" ]; then
export ax_cv_c_float_words_bigendian=no
else
export ax_cv_c_float_words_bigendian=yes
Expand Down

0 comments on commit 9ff1e1a

Please sign in to comment.