freebsd-ports/net/shaperprobe/files/patch-Makefile.osx
Emanuel Haupt 19954bc0f8 - Support staging
- Respect CC
- Respect CFLAGS
- This port does not build with clang, use gcc
2014-02-24 15:00:15 +00:00

12 lines
305 B
Text

--- Makefile.osx.orig 2012-01-24 21:33:22.000000000 +0100
+++ Makefile.osx 2014-02-24 15:57:22.575172070 +0100
@@ -1,7 +1,7 @@
-CC=gcc
+CC?=gcc
-CFLAGS=-c -Wall -O3 -fno-strict-aliasing -DOSX
+CFLAGS+=-c -DOSX
LDFLAGS=-lm
SOURCES=prober.c tcp_client.c tcpserver.c wrappers.c tbdetect.c measflow.c