[packages/ocaml] - don't meddle with profiling builds (error: -pg and -fomit-frame-pointer are incompatible)

baggins baggins at pld-linux.org
Mon Jun 5 13:01:48 CEST 2017


commit 0af1a24b17e054c393181b8197ae85fdc9581a76
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 5 13:01:19 2017 +0200

    - don't meddle with profiling builds (error: -pg and -fomit-frame-pointer are incompatible)

 ocaml-CFLAGS.patch | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/ocaml-CFLAGS.patch b/ocaml-CFLAGS.patch
index bc82280..092632d 100644
--- a/ocaml-CFLAGS.patch
+++ b/ocaml-CFLAGS.patch
@@ -16,9 +16,8 @@ Makefiles=$(find . -type f -name Makefile\*)
 +override CFLAGS += $(FLAGS) $(NATIVECCCOMPOPTS)
  DFLAGS=$(FLAGS) -g -DDEBUG $(NATIVECCCOMPOPTS)
  IFLAGS=$(FLAGS) -DCAML_INSTR
--PFLAGS=$(FLAGS) -pg -DPROFILING $(NATIVECCPROFOPTS) $(NATIVECCCOMPOPTS)
+ PFLAGS=$(FLAGS) -pg -DPROFILING $(NATIVECCPROFOPTS) $(NATIVECCCOMPOPTS)
 -PICFLAGS=$(FLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
-+PFLAGS=$(FLAGS) -pg -DPROFILING $(CFLAGS) $(NATIVECCPROFOPTS) $(NATIVECCCOMPOPTS)
 +PICFLAGS=$(FLAGS) $(CFLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
  
  COBJS=startup_aux.o startup.o \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml.git/commitdiff/0af1a24b17e054c393181b8197ae85fdc9581a76



More information about the pld-cvs-commit mailing list