mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-15 19:37:25 +02:00
Closes: https://bugs.gentoo.org/884779 Closes: https://bugs.gentoo.org/870793 Closes: https://bugs.gentoo.org/944266 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Sam James <sam@gentoo.org>
13 lines
448 B
Diff
13 lines
448 B
Diff
Fail build if compilation failed, use ranlib
|
|
|
|
--- a/build
|
|
+++ b/build
|
|
@@ -36,7 +36,7 @@ if test "$1" = "bin" ; then
|
|
#define RULES_FILE \"$LIBDIR/en/scrabble_rules\"
|
|
" > src/config.h
|
|
xmkmf -a
|
|
- make CC="${CC}" CCOPTIONS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
|
|
+ make CC="${CC}" AR="${AR} cq" RANLIB="${RANLIB}" CCOPTIONS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" || exit 1
|
|
echo "
|
|
Now, type './build install' to install programs in $BINDIR
|
|
"
|