File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -9702,10 +9702,12 @@ _ACEOF
9702
9702
9703
9703
9704
9704
9705
- if test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
9706
- TARGET_PTR="unsigned long"
9707
- elif test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
9705
+ # Try to keep TARGET_PTR the same across archs so that jit-reader.h file
9706
+ # content is the same for multilib distributions.
9707
+ if test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
9708
9708
TARGET_PTR="unsigned long long"
9709
+ elif test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
9710
+ TARGET_PTR="unsigned long"
9709
9711
elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then
9710
9712
TARGET_PTR="unsigned __int128"
9711
9713
else
Original file line number Diff line number Diff line change @@ -820,10 +820,12 @@ AC_CHECK_SIZEOF(unsigned long long)
820
820
AC_CHECK_SIZEOF ( unsigned long )
821
821
AC_CHECK_SIZEOF ( unsigned __int128 )
822
822
823
- if test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
824
- TARGET_PTR="unsigned long"
825
- elif test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
823
+ # Try to keep TARGET_PTR the same across archs so that jit-reader.h file
824
+ # content is the same for multilib distributions.
825
+ if test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
826
826
TARGET_PTR="unsigned long long"
827
+ elif test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
828
+ TARGET_PTR="unsigned long"
827
829
elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then
828
830
TARGET_PTR="unsigned __int128"
829
831
else
You can’t perform that action at this time.
0 commit comments