Skip to content

Commit 606aee6

Browse files
committed
package/lowdown: Fix configure script for parallel builds
1 parent e457836 commit 606aee6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

package/lowdown/fix-build.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff -urN lowdown-VERSION_1_0_2.orig/configure lowdown-VERSION_1_0_2/configure
2+
--- lowdown-VERSION_1_0_2.orig/configure 2025-03-21 12:58:06.151106271 +0000
3+
+++ lowdown-VERSION_1_0_2/configure 2025-03-21 13:20:20.649825864 +0000
4+
@@ -61,12 +61,7 @@
5+
6+
MAKE_FLAGS=""
7+
8+
-if [ -n "${MAKELEVEL}" ]; then
9+
- if [ "${MAKELEVEL}" -gt 0 ] ; then
10+
- MAKE_FLAGS="--no-print-directory"
11+
- echo "all:" | make ${MAKE_FLAGS} -sf - 2>/dev/null || MAKE_FLAGS=""
12+
- fi
13+
-fi
14+
+MAKE_FLAGS="--no-print-directory"
15+
16+
if [ -n "$MAKE_FLAGS" ]; then
17+
echo "GNU submake detected: using --no-print-directory" 1>&2
18+
@@ -79,9 +74,6 @@
19+
# in.
20+
#----------------------------------------------------------------------
21+
22+
-AR=`printf "all:\\n\\t@echo \\\$(AR)\\n" | make ${MAKE_FLAGS} -sf -`
23+
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make ${MAKE_FLAGS} -sf -`
24+
-CFLAGS=`printf "all:\\n\\t@echo \\\$(CFLAGS)\\n" | make ${MAKE_FLAGS} -sf -`
25+
CFLAGS="${CFLAGS} -g -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes"
26+
CFLAGS="${CFLAGS} -Wwrite-strings -Wno-unused-parameter"
27+
LDLIBS=

0 commit comments

Comments
 (0)