You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-servers/gatling/files/gatling-0.12-compile.patch

21 lines
764 B

--- GNUmakefile 2012-04-10 04:31:14.505474482 +0200
+++ GNUmakefile 2012-04-10 04:31:53.821982958 +0200
@@ -64,7 +64,7 @@
acc: acc.c
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) -lowfat
-CC:=$(DIET) $(CC)
+override CC:=$(DIET) $(CC)
pthreadbench: pthreadbench.o
$(CC) $< -o $@ -I. $(CFLAGS) $(LDFLAGS) $(LDLIBS) -lpthread
@@ -80,7 +80,7 @@
$(OBJS) https.o gatling.o: gatling.h version.h gatling_features.h
tlsgatling: gatling.c ssl.o $(HTTPS_OBJS)
- -$(CC) -o $@ gatling.c ssl.o $(HTTPS_OBJS) $(CFLAGS) -DSUPPORT_HTTPS $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
+ $(CC) -o $@ gatling.c ssl.o $(HTTPS_OBJS) $(CFLAGS) -DSUPPORT_HTTPS $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
gatling: gatling.o $(OBJS) md5lib
$(CC) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LDLIBS) `cat md5lib`