summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-05-04 09:55:15 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2024-05-04 09:55:25 +0200
commitdb3e7e74f686f125227c6e1ad5d573c83cdaa360 (patch)
tree39d37459ab2bd783ce49d8cd404a987245b7ac87 /app-emulation/plus42
parentapp-emulation/free42: also handle unset $AR (diff)
downloadgentoo-db3e7e74f686f125227c6e1ad5d573c83cdaa360.tar.gz
gentoo-db3e7e74f686f125227c6e1ad5d573c83cdaa360.tar.bz2
gentoo-db3e7e74f686f125227c6e1ad5d573c83cdaa360.zip
app-emulation/plus42: also handle unset $AR
Closes: https://bugs.gentoo.org/931146 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-emulation/plus42')
-rw-r--r--app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch b/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch
index 304f20ec83b2..c9cde2fbda2c 100644
--- a/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch
+++ b/app-emulation/plus42/files/plus42-1.0.12-fix-build-intel-lib.patch
@@ -23,7 +23,7 @@ diff -Naur free42-nologo-3.0.16.orig/gtk/build-intel-lib.sh free42-nologo-3.0.16
+
cd LIBRARY
-$MK $OS_ARG CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
-+$MK $OS_ARG A=a AR_CMD="$AR rv" CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
++$MK $OS_ARG A=a AR_CMD="${AR:-ar} rv" CC=$CC CALL_BY_REF=1 GLOBAL_RND=1 GLOBAL_FLAGS=1 UNCHANGED_BINARY_FLAGS=0 $ENDIAN_ARG
mv libbid.a ../../gcc111libbid.a
cd ../..
( echo '#ifdef FREE42_FPTEST'; echo 'const char *readtest_lines[] = {'; tr -d '\r' < IntelRDFPMathLib20U1/TESTS/readtest.in | sed 's/^\(.*\)$/"\1",/'; echo '0 };'; echo '#endif' ) > readtest_lines.cc