From 0819fd60fdce6607b7949f8b8da56a3f7f7bc9c2 Mon Sep 17 00:00:00 2001 From: vanilla Date: Tue, 6 Sep 2011 04:05:43 +0000 Subject: Fix build error with clang. Approved by: maintainer --- net-mgmt/arpalert/files/patch-module_example__Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/arpalert/files/patch-module_example__Makefile b/net-mgmt/arpalert/files/patch-module_example__Makefile index a2974e64384e..d3d648ebccda 100644 --- a/net-mgmt/arpalert/files/patch-module_example__Makefile +++ b/net-mgmt/arpalert/files/patch-module_example__Makefile @@ -1,10 +1,12 @@ ---- module_example/Makefile.orig 2008-03-31 11:36:42.000000000 -0700 -+++ module_example/Makefile 2008-04-22 11:40:52.000000000 -0700 -@@ -2,7 +2,7 @@ +--- 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 +-CC = gcc -CFLAGS = -Wall -g ++#CC = gcc +CFLAGS = -Wall -g -fPIC all: example.so -- cgit