freebsd-ports/net-mgmt/arpalert/files/patch-module_example__Makefile
Vanilla I. Shu fd9c9ec6a9 Fix build error with clang.
Approved by:	maintainer
2011-09-06 04:05:43 +00:00

13 lines
326 B
Text

--- module_example/Makefile.orig 2008-04-01 02:36:42.000000000 +0800
+++ module_example/Makefile 2011-09-05 16:49:33.000000000 +0800
@@ -1,8 +1,8 @@
# Copyright (c) 2005-2010 Thierry FOURNIER
# $Id: Makefile 690 2008-03-31 18:36:43Z $
-CC = gcc
-CFLAGS = -Wall -g
+#CC = gcc
+CFLAGS = -Wall -g -fPIC
all: example.so