Fix build error with clang.

Approved by:	maintainer
This commit is contained in:
Vanilla I. Shu 2011-09-06 04:05:43 +00:00
parent 45eefa03bd
commit fd9c9ec6a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281273

View File

@ -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