diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-11-14 13:20:55 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-11-14 13:20:55 +0000 |
commit | ff07acb3a615d0b92d88609a01694cfacdd556b9 (patch) | |
tree | bd2911a08354ee029d98e973b418fb8040b95a96 /dev-lang/ocaml/files | |
parent | Sparc stable for Bug #245438, test passes but I have no way of using it. (diff) | |
download | gentoo-2-ff07acb3a615d0b92d88609a01694cfacdd556b9.tar.gz gentoo-2-ff07acb3a615d0b92d88609a01694cfacdd556b9.tar.bz2 gentoo-2-ff07acb3a615d0b92d88609a01694cfacdd556b9.zip |
respect ldflags for ocamlyacc
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.5 x86_64)
Diffstat (limited to 'dev-lang/ocaml/files')
-rw-r--r-- | dev-lang/ocaml/files/ocaml-3.11.0_beta1-yaccldflags.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lang/ocaml/files/ocaml-3.11.0_beta1-yaccldflags.patch b/dev-lang/ocaml/files/ocaml-3.11.0_beta1-yaccldflags.patch new file mode 100644 index 000000000000..b3dd1ea38126 --- /dev/null +++ b/dev-lang/ocaml/files/ocaml-3.11.0_beta1-yaccldflags.patch @@ -0,0 +1,13 @@ +Index: ocaml-3.11.0+beta1/yacc/Makefile +=================================================================== +--- ocaml-3.11.0+beta1.orig/yacc/Makefile ++++ ocaml-3.11.0+beta1/yacc/Makefile +@@ -25,7 +25,7 @@ OBJS= closure.o error.o lalr.o lr0.o mai + all: ocamlyacc$(EXE) + + ocamlyacc$(EXE): $(OBJS) +- $(CC) $(CFLAGS) $(CCLINKFLAGS) -o ocamlyacc $(OBJS) ++ $(CC) $(LDFLAGS) $(CFLAGS) $(CCLINKFLAGS) -o ocamlyacc $(OBJS) + + version.h : ../VERSION + echo "#define OCAML_VERSION \"`head -1 ../VERSION`\"" >version.h |