ports/devel/ocaml-pcre/files/patch-lib_Makefile
2009-03-09 18:07:28 +00:00

11 lines
409 B
Text

--- lib/Makefile.orig 2009-03-09 09:14:29.000000000 +0100
+++ lib/Makefile 2009-03-09 09:14:35.000000000 +0100
@@ -1,7 +1,7 @@
OCAMLMAKEFILE = ../OCamlMakefile
SOURCES := pcre.mli pcre.ml pcre_stubs.c
-CFLAGS := -O2 $(shell pcre-config --cflags)
+CFLAGS += $(shell pcre-config --cflags)
PCRE_FLAGS := $(shell pcre-config --libs)
OCAMLLDFLAGS := -cclib "$(PCRE_FLAGS)"
OCAMLMKLIB_FLAGS := $(PCRE_FLAGS)