Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195933 Details for
Bug 275441
new ebuild: dev-scheme/chibi-scheme
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Some makefile improvements I suggested to upstream. Includes adding -fPIC to CFLAGS (needed for amd64, fixes QA notice for x86) and -soname (fixes QA notice).
chibi-scheme-0.2-unix-build-suggestions.patch (text/plain), 1.29 KB, created by
chkno
on 2009-06-28 06:44:05 UTC
(
hide
)
Description:
Some makefile improvements I suggested to upstream. Includes adding -fPIC to CFLAGS (needed for amd64, fixes QA notice for x86) and -soname (fixes QA notice).
Filename:
MIME Type:
Creator:
chkno
Created:
2009-06-28 06:44:05 UTC
Size:
1.29 KB
patch
obsolete
>* Add -fPIC to CFLAGS because most of this code ends up in a library. > >* Add a soname to the library. > >* Use nested if instead of "else ifeq" syntax for compatibility with > older versions of make. > >* mkdir -p the BINDIR. > >--- chibi-scheme-0.2/Makefile >+++ chibi-scheme-0.2/Makefile >@@ -24,7 +24,8 @@ > EXE = > CLIBFLAGS = -dynamiclib > STATICFLAGS = -static-libgcc >-else ifeq ($(PLATFORM),mingw) >+else >+ifeq ($(PLATFORM),mingw) > SO = .dll > EXE = .exe > CLIBFLAGS = -fPIC shared >@@ -34,6 +35,7 @@ > CLIBFLAGS = -fPIC -shared > STATICFLAGS = -static > endif >+endif > > ifdef USE_BOEHM > GCLDFLAGS := -lgc >@@ -44,7 +46,7 @@ > endif > > XLDFLAGS := $(LDFLAGS) $(GCLDFLAGS) -lm >-XCFLAGS := -Wall -O2 -g $(CFLAGS) >+XCFLAGS := -Wall -O2 -g -fPIC $(CFLAGS) > > INCLUDES = include/chibi/sexp.h include/chibi/config.h include/chibi/install.h > >@@ -61,7 +63,7 @@ > $(CC) -c $(XCPPFLAGS) $(XCFLAGS) -o $@ $< > > libchibi-scheme$(SO): eval.o sexp.o >- $(CC) $(CLIBFLAGS) -o $@ $^ $(XLDFLAGS) >+ $(CC) $(CLIBFLAGS) -o $@ $^ $(XLDFLAGS) -Wl,-soname=$@ > > chibi-scheme$(EXE): main.o libchibi-scheme$(SO) > $(CC) $(XCPPFLAGS) $(XCFLAGS) -o $@ $< -L. -lchibi-scheme >@@ -90,6 +92,7 @@ > ./chibi-scheme tests/r5rs-tests.scm > > install: chibi-scheme >+ mkdir -p $(BINDIR) > cp chibi-scheme $(BINDIR)/ > mkdir -p $(MODDIR) > cp init.scm $(MODDIR)/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275441
:
195774
|
195776
|
195904
| 195933 |
195935