From: Willy Tarreau Date: Fri, 16 Sep 2011 13:00:48 +0000 (+0200) Subject: BUILD: halog: make halog build on solaris X-Git-Tag: v1.5-dev8~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee71754e2ba5c2096903b86ada1610b8e72eb82;p=thirdparty%2Fhaproxy.git BUILD: halog: make halog build on solaris Solaris' "rm" command does not support -v. Also, specify CC=gcc because "cc" generally is not gcc there. --- diff --git a/contrib/halog/Makefile b/contrib/halog/Makefile index fa3e6bb610..c488470f9a 100644 --- a/contrib/halog/Makefile +++ b/contrib/halog/Makefile @@ -1,5 +1,7 @@ EBTREE_DIR = ../../ebtree INCLUDE = -I../../include -I$(EBTREE_DIR) + +CC = gcc OPTIMIZE = -O3 OBJS = halog halog64 @@ -11,4 +13,4 @@ halog64: halog.c fgets2-64.c $(CC) $(OPTIMIZE) -o $@ $(INCLUDE) $(EBTREE_DIR)/ebtree.c $(EBTREE_DIR)/eb32tree.c $(EBTREE_DIR)/eb64tree.c $(EBTREE_DIR)/ebmbtree.c $(EBTREE_DIR)/ebsttree.c $(EBTREE_DIR)/ebistree.c $(EBTREE_DIR)/ebimtree.c $^ clean: - rm -vf $(OBJS) + rm -f $(OBJS)