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 @@ -9680,10 +9680,12 @@ _ACEOF
9680
9680
9681
9681
9682
9682
9683
- if test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
9684
- TARGET_PTR="unsigned long"
9685
- elif test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
9683
+ # Try to keep TARGET_PTR the same across archs so that jit-reader.h file
9684
+ # content is the same for multilib distributions.
9685
+ if test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
9686
9686
TARGET_PTR="unsigned long long"
9687
+ elif test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
9688
+ TARGET_PTR="unsigned long"
9687
9689
elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then
9688
9690
TARGET_PTR="unsigned __int128"
9689
9691
else
Original file line number Diff line number Diff line change @@ -843,10 +843,12 @@ AC_CHECK_SIZEOF(unsigned long long)
843
843
AC_CHECK_SIZEOF ( unsigned long )
844
844
AC_CHECK_SIZEOF ( unsigned __int128 )
845
845
846
- if test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
847
- TARGET_PTR="unsigned long"
848
- elif test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
846
+ # Try to keep TARGET_PTR the same across archs so that jit-reader.h file
847
+ # content is the same for multilib distributions.
848
+ if test "x${ac_cv_sizeof_unsigned_long_long}" = "x8"; then
849
849
TARGET_PTR="unsigned long long"
850
+ elif test "x${ac_cv_sizeof_unsigned_long}" = "x8"; then
851
+ TARGET_PTR="unsigned long"
850
852
elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then
851
853
TARGET_PTR="unsigned __int128"
852
854
else
You can’t perform that action at this time.
0 commit comments