Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 309723 Details for
Bug 412921
app-text/peg-multimarkdown - An implementation of MultiMarkdown in C, using a PEG grammar
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cflags.patch
cflags.patch (text/plain), 1.36 KB, created by
Ștefan Talpalaru
on 2012-04-21 14:54:12 UTC
(
hide
)
Description:
cflags.patch
Filename:
MIME Type:
Creator:
Ștefan Talpalaru
Created:
2012-04-21 14:54:12 UTC
Size:
1.36 KB
patch
obsolete
>--- Makefile.orig 2012-01-23 22:07:40.000000000 +0100 >+++ Makefile 2012-04-21 16:33:29.194555178 +0200 >@@ -18,26 +18,27 @@ > FINALNOTES=Build complete. > endif > >-CFLAGS ?= -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 >+OFLAGS = $(CFLAGS) >+LDFLAGS += -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 > ifeq ($(UNAME), SunOS) > CC = gcc > # Use of <stdbool.h> is valid only in a c99 compilation environment >- CFLAGS += --std=c99 >+ OFLAGS += --std=c99 > else >- CFLAGS += -ansi >+ OFLAGS += -ansi > endif > > # make ARCH=ppc > # build for ppc architecture - Only works on machines with PPC compilation support installed > # probably only Snow Leopard machines with Xcode 3 installed > ifeq ($(ARCH), ppc) >- CFLAGS += -arch ppc >+ OFLAGS += -arch ppc > endif > > # make ARCH=i386 > # build for i386 architecture - useful with older machines or those running 10.4? > ifeq ($(ARCH), i386) >- CFLAGS += -arch i386 >+ OFLAGS += -arch i386 > endif > > OBJS=markdown_parser.o markdown_output.o markdown_lib.o GLibFacade.o >@@ -53,10 +54,10 @@ > CC=gcc $(MAKE) -C $(PEGDIR) > > %.o : %.c markdown_peg.h >- $(CC) -c $(CFLAGS) -o $@ $< >+ $(CC) -c $(OFLAGS) -o $@ $< > > $(PROGRAM) : markdown.c $(OBJS) >- $(CC) $(CFLAGS) -o $@ $(OBJS) $< >+ $(CC) $(OFLAGS) $(LDFLAGS) -o $@ $(OBJS) $< > @echo "$(FINALNOTES)" > > markdown_parser.c : markdown_parser.leg $(LEG) markdown_peg.h parsing_functions.c utility_functions.c
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 Raw
Actions:
View
Attachments on
bug 412921
:
309721
| 309723 |
309725