opnsense-ports/net/tdetect/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
536 B
Text

--- Makefile.orig 1998-08-13 17:17:57.000000000 +0900
+++ Makefile 2012-09-08 03:33:04.000000000 +0900
@@ -1,11 +1,11 @@
# Makefile
-CC=gcc
+CC?=cc
#DEBUG=-g -DDEBUG
# Add -DLINUX if you compile on Linux
# Thanks to Gary Miller <gem@rellim.com>
-CFLAGS=-O2 -Wall
+CFLAGS?=-O -pipe
OBJS=main.o null.o ether.o ip.o
LIBS= -lpcap
SRC=$(OBJS:%.o=%.c)
@@ -13,7 +13,7 @@
all: tdetect
tdetect: $(OBJS)
- $(CC) $(OBJS) $(LIBS) $(DEBUG) -s -o tdetect
+ $(CC) $(OBJS) $(LIBS) $(DEBUG) -o tdetect
clean:
rm -f *.o tdetect *.b