compile 3 objects that were previously missed for some reason, with -fPIC

this fixes x11/vlc on amd64.
This commit is contained in:
pvalchev 2004-06-13 06:47:32 +00:00
parent f0605e72e4
commit 1995e4f7bc

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-lib_Makefile_in,v 1.6 2003/12/24 00:08:02 brad Exp $
--- lib/Makefile.in.orig 2003-05-18 10:19:16.000000000 -0400
+++ lib/Makefile.in 2003-12-21 13:36:54.000000000 -0500
$OpenBSD: patch-lib_Makefile_in,v 1.7 2004/06/13 06:47:32 pvalchev Exp $
--- lib/Makefile.in.orig 2003-05-18 08:19:16.000000000 -0600
+++ lib/Makefile.in 2004-06-13 00:31:54.000000000 -0600
@@ -26,7 +26,7 @@ LIBTOOL_COMPILE = $(LIBTOOL) --mode=comp
LIBTOOL_LINK = $(LIBTOOL) --mode=link
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
@ -10,7 +10,22 @@ $OpenBSD: patch-lib_Makefile_in,v 1.6 2003/12/24 00:08:02 brad Exp $
MV = mv
LN = @LN@
LN_S = @LN_S@
@@ -101,7 +101,7 @@ relocatable.lo : $(srcdir)/relocatable.c
@@ -89,19 +89,19 @@ libiconv_plug_osf.so : $(SOURCES)
fi
iconv.lo : $(srcdir)/iconv.c $(srcdir)/converters.h $(srcdir)/encodings.def $(srcdir)/encodings_aix.def $(srcdir)/encodings_osf1.def $(srcdir)/encodings_dos.def $(srcdir)/encodings_local.def $(srcdir)/aliases.h $(srcdir)/aliases_aix.h $(srcdir)/aliases_osf1.h $(srcdir)/aliases_dos.h $(srcdir)/flags.h
- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/iconv.c
+ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -fPIC -DPIC -c $(srcdir)/iconv.c
localcharset.lo : $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.h
- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../libcharset/lib/localcharset.c
+ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -fPIC -DPIC -c $(srcdir)/../libcharset/lib/localcharset.c
relocatable.lo : $(srcdir)/relocatable.c $(srcdir)/relocatable.h
- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/relocatable.c
+ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -fPIC -DPIC -c $(srcdir)/relocatable.c
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
if [ ! -d $(libdir) ] ; then $(mkinstalldirs) $(libdir) ; fi