-fPIC where needed

This commit is contained in:
pvalchev 2005-06-09 21:38:39 +00:00
parent aa57b150b7
commit dcb68b12cd
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-cgi_Makefile,v 1.1 2005/06/09 21:38:39 pvalchev Exp $
--- cgi/Makefile.orig Thu Jun 9 14:59:03 2005
+++ cgi/Makefile Thu Jun 9 14:59:16 2005
@@ -6,6 +6,7 @@ endif
include $(NEOTONIC_ROOT)rules.mk
+CFLAGS += -fPIC
CGI_LIB = $(LIB_DIR)libneo_cgi.a
CGI_SRC = cgiwrap.c cgi.c html.c date.c rfc2388.c
CGI_OBJ = $(CGI_SRC:%.c=%.o)

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-cs_Makefile,v 1.1 2005/06/09 21:38:39 pvalchev Exp $
--- cs/Makefile.orig Thu Jun 9 14:58:17 2005
+++ cs/Makefile Thu Jun 9 14:58:39 2005
@@ -6,6 +6,7 @@ endif
include $(NEOTONIC_ROOT)rules.mk
+CFLAGS += -fPIC
CS_LIB = $(LIB_DIR)libneo_cs.a
CS_SRC = csparse.c
CS_OBJ = $(CS_SRC:%.c=%.o)

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-util_Makefile,v 1.1 2005/06/09 21:38:39 pvalchev Exp $
--- util/Makefile.orig Thu Jun 9 15:00:49 2005
+++ util/Makefile Thu Jun 9 15:00:58 2005
@@ -6,6 +6,7 @@ endif
include $(NEOTONIC_ROOT)rules.mk
+CFLAGS += -fPIC
UTL_LIB = $(LIB_DIR)libneo_utl.a
UTL_SRC = neo_err.c neo_files.c neo_misc.c neo_rand.c ulist.c neo_hdf.c \
neo_str.c neo_date.c wildmat.c neo_hash.c $(EXTRA_UTL_SRC)