summaryrefslogtreecommitdiffstats
path: root/net-mgmt/sting/files/patch-aa
blob: 97e617a7d8cd52c26ae5a7d255ffc2c23048050e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- Makefile.orig	Thu Nov  4 11:00:22 1999
+++ Makefile	Sat Jul  1 16:27:33 2000
@@ -37,12 +37,13 @@
 HDR = inet.h capture.h gmt2local.h distribtion.h 
 
 LIBPCAP = ./libpcap-0.4
-CC = gcc 
+CC ?= gcc 
+CFLAGS ?= -O -pipe
 OBJS = version.o $(SRC:.c=.o)
 INCLS = -I. -I$(LIBPCAP)
 DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1 
-CFLAGS =  -Wall $(CCOPT) $(DEFS) $(INCLS)
-LIBS = -lm $(LIBPCAP)/libpcap.a
+CFLAGS +=  -Wall $(DEFS) $(INCLS)
+LIBS = -lm -lpcap
 
 all: sting
 
OpenPOWER on IntegriCloud