PKGBUILDs/extra/lrs/32-bit-support.patch

38 lines
867 B
Diff
Raw Normal View History

2024-05-31 12:53:59 +00:00
--- makefile.orig 2024-05-31 06:48:10.051261886 -0600
+++ makefile 2024-05-31 06:49:58.003425835 -0600
@@ -24,14 +24,14 @@
#PLRSFLAGS=
2020-06-04 12:55:36 +00:00
2024-05-31 12:53:59 +00:00
#compilers supporting _int128 (eg gcc 4.2 and later)
2021-06-04 17:08:36 +00:00
-BITS=-DB128
-MPLRSOBJ2=lrslib2-mplrs.o lrslong2-mplrs.o
2024-05-31 12:53:59 +00:00
-LRSOBJ2=lrslib2.o lrslong2.o
2021-06-04 17:08:36 +00:00
+#BITS=-DB128
+#MPLRSOBJ2=lrslib2-mplrs.o lrslong2-mplrs.o
2024-05-31 12:53:59 +00:00
+#LRSOBJ2=lrslib2.o lrslong2.o
2020-06-04 12:55:36 +00:00
2024-05-31 12:53:59 +00:00
#compilers without _int128 support (equivalent to make lrs64 in v.7.2)
-#BITS=
-#MPLRSOBJ2=
-#LRSOBJ2=
+BITS=
+MPLRSOBJ2=
+LRSOBJ2=
2020-06-04 12:55:36 +00:00
2024-05-31 12:53:59 +00:00
#legacy lrs and mplrs
#CFLAGS = -g -Wall -I ${ARITH}
@@ -231,11 +231,11 @@
2021-06-04 17:08:36 +00:00
SHLIB ?=$(SONAME)$(SOMINOR)
SHLINK ?=liblrs.so
2020-06-04 12:55:36 +00:00
2021-06-04 17:08:36 +00:00
-SHLIBOBJ2=lrslib2-shr.o lrslong2-shr.o
+#SHLIBOBJ2=lrslib2-shr.o lrslong2-shr.o
2020-06-04 12:55:36 +00:00
2021-06-04 17:08:36 +00:00
# for 32 bit machines
2020-06-04 12:55:36 +00:00
2021-06-04 17:08:36 +00:00
-# SHLIBOBJ2=
+SHLIBOBJ2=
2020-06-04 12:55:36 +00:00
2021-06-04 17:08:36 +00:00
SHLIBOBJ=lrslong1-shr.o lrslib1-shr.o \
lrslibgmp-shr.o lrsgmp-shr.o lrsdriver-shr.o \