summaryrefslogtreecommitdiff
path: root/package/gatling/patches/patch-GNUmakefile
blob: 4c81b6a99e340ae4a55efabdd2ea1c7042528f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$Id$
--- gatling-0.16.orig/GNUmakefile	2020-05-13 15:53:27.000000000 +0200
+++ gatling-0.16/GNUmakefile	2024-02-23 04:29:47.451896784 +0100
@@ -25,7 +25,7 @@ CC=$(CROSS)gcc
 endif
 
 CFLAGS=-pipe -Wall
-LDFLAGS=
+LDFLAGS?=
 
 #CFLAGS+=-DSTATE_DEBUG -DMOREDEBUG -DDEBUG_EVENTS -DSMDEBUG
 
@@ -194,9 +194,10 @@ havesetresuid.h: trysetresuid.c
 dummy.c:
 	touch $@
 
+RANLIB?=ranlib
 libsocketkludge.a: libsocket libiconv dummy.o
 	ar q $@ dummy.o
-	-ranlib $@
+	-${RANLIB} $@
 
 LDLIBS+=`cat libsocket libiconv libcrypt`