diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-03-22 14:18:21 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-03-22 14:18:21 +0000 |
commit | 7bfe7685ccea69f3d67b9e39a928b28dfb72888f (patch) | |
tree | d96608ae0eb59dc6dd43b0b752069a6cce6e5d8e /irc/sircd | |
parent | - Update to 1.7.2 (diff) |
Build only the shared library with -fPIC
Diffstat (limited to 'irc/sircd')
-rw-r--r-- | irc/sircd/Makefile | 1 | ||||
-rw-r--r-- | irc/sircd/files/patch-syscore-Makefile | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/irc/sircd/Makefile b/irc/sircd/Makefile index 0df9031b0c7e..27a088a32938 100644 --- a/irc/sircd/Makefile +++ b/irc/sircd/Makefile @@ -19,7 +19,6 @@ COMMENT= The Smart IRC Daemon USE_OPENSSL= yes USE_GMAKE= yes -CFLAGS+= "-fPIC" MAKE_ENV= LD="${CC}" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" diff --git a/irc/sircd/files/patch-syscore-Makefile b/irc/sircd/files/patch-syscore-Makefile new file mode 100644 index 000000000000..4697d7513b48 --- /dev/null +++ b/irc/sircd/files/patch-syscore-Makefile @@ -0,0 +1,11 @@ +--- syscore/Makefile.orig Sat Feb 2 18:44:49 2002 ++++ syscore/Makefile Mon Mar 22 15:15:57 2004 +@@ -69,7 +70,7 @@ + ############################################################################# + + .c.o: +- $(CC) $(CFLAGS) $(INCLUDE) -o $*.o -c $*.c ++ $(CC) $(CFLAGS) $(SHFLAGS) $(INCLUDE) -o $*.o -c $*.c + + clean: + @rm -f $(OBJ) |