Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 182898 | Differences between
and this patch

Collapse All | Expand All

(-)plt.orig/collects/make/setup-extension.ss (-1 / +1 lines)
Lines 191-197 Link Here
191
           current-extension-linker-flags 
191
           current-extension-linker-flags 
192
           (if is-win?
192
           (if is-win?
193
               null
193
               null
194
               (list (format "-L~a/lib" (path->string sys-path))))
194
               (list "-fPIC" (format "-L~a/lib" (path->string sys-path))))
195
           
195
           
196
           ;; Add libs for Windows:
196
           ;; Add libs for Windows:
197
           (with-new-flags
197
           (with-new-flags
(-)plt.orig/src/foreign/Makefile.in (-1 / +1 lines)
Lines 3-9 Link Here
3
srcdir = @srcdir@
3
srcdir = @srcdir@
4
builddir = @builddir@
4
builddir = @builddir@
5
CC = @CC@
5
CC = @CC@
6
CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ @PROFFLAGS@ @OPTIONS@ @MZOPTIONS@ \
6
CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ @PROFFLAGS@ @OPTIONS@ @MZOPTIONS@ -fPIC \
7
         -I$(builddir)/../mzscheme \
7
         -I$(builddir)/../mzscheme \
8
         -I$(srcdir)/../mzscheme/include -I$(srcdir)/../mzscheme/src \
8
         -I$(srcdir)/../mzscheme/include -I$(srcdir)/../mzscheme/src \
9
         -Igcc/libffi/include
9
         -Igcc/libffi/include
(-)plt.orig/src/mzscheme/dynsrc/Makefile.in (-3 / +3 lines)
Lines 18-31 Link Here
18
CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ -I$(builddir)/.. -I$(srcdir)/../include -I$(srcdir)/../src @MZOPTIONS@
18
CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ -I$(builddir)/.. -I$(srcdir)/../include -I$(srcdir)/../src @MZOPTIONS@
19
19
20
dynlib:
20
dynlib:
21
	$(MAKE) ../mzdyn.o
21
	$(MAKE) CFLAGS="$(CFLAGS) -fPIC" ../mzdyn.o
22
	$(MAKE) ../starter
22
	$(MAKE) ../starter
23
23
24
dynlib3m:
24
dynlib3m:
25
	$(MAKE) ../mzdyn3m.o
25
	$(MAKE) CFLAGS="$(CFLAGS) -fPIC" ../mzdyn3m.o
26
26
27
dynexample:
27
dynexample:
28
	$(MAKE) ../dynexmpl.so
28
	$(MAKE) CFLAGS="$(CFLAGS) -fPIC" ../dynexmpl.so
29
29
30
HEADERS = $(builddir)/../mzconfig.h \
30
HEADERS = $(builddir)/../mzconfig.h \
31
          $(srcdir)/../include/scheme.h $(srcdir)/../src/schemef.h \
31
          $(srcdir)/../include/scheme.h $(srcdir)/../src/schemef.h \
(-)plt.orig/src/mzscheme/gc/Makefile.in (-1 / +1 lines)
Lines 10-16 Link Here
10
#      	 and runs some tests of collector and cords.  Does not add cords or
10
#      	 and runs some tests of collector and cords.  Does not add cords or
11
#	 c++ interface to gc.a
11
#	 c++ interface to gc.a
12
# cord/de - builds dumb editor based on cords.
12
# cord/de - builds dumb editor based on cords.
13
ABI_FLAG= 
13
ABI_FLAG= -fPIC
14
CC= @CC@ $(ABI_FLAG)
14
CC= @CC@ $(ABI_FLAG)
15
CXX= @CXX@ $(ABI_FLAG)
15
CXX= @CXX@ $(ABI_FLAG)
16
AS= @AS@ $(ABI_FLAG)
16
AS= @AS@ $(ABI_FLAG)
(-)plt.orig/src/mzscheme/gc2/Makefile.in (-1 / +1 lines)
Lines 13-19 Link Here
13
ARFLAGS = @ARFLAGS@
13
ARFLAGS = @ARFLAGS@
14
RANLIB = @RANLIB@
14
RANLIB = @RANLIB@
15
15
16
CPPFLAGS = @PREFLAGS@ @OPTIONS@ @GC2OPTIONS@ @MZOPTIONS@ -I$(builddir)/.. -I$(srcdir)/../include
16
CPPFLAGS = @PREFLAGS@ -fPIC @OPTIONS@ @GC2OPTIONS@ @MZOPTIONS@ -I$(builddir)/.. -I$(srcdir)/../include
17
CFLAGS = @CFLAGS@ $(CPPFLAGS) @COMPFLAGS@ @PROFFLAGS@
17
CFLAGS = @CFLAGS@ $(CPPFLAGS) @COMPFLAGS@ @PROFFLAGS@
18
LIBS = @LIBS@
18
LIBS = @LIBS@
19
19

Return to bug 182898