]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- don't meddle with profiling builds (error: -pg and -fomit-frame-pointer are incompa... auto/th/ocaml-4.04.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 5 Jun 2017 11:01:19 +0000 (13:01 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 5 Jun 2017 11:01:19 +0000 (13:01 +0200)
ocaml-CFLAGS.patch

index bc822802ca4b42fe9f2579ee05a4444b02920521..092632d77d0487a29e56430ef839a73bc0e8291e 100644 (file)
@@ -16,9 +16,8 @@ Makefiles=$(find . -type f -name Makefile\*)
 +override CFLAGS += $(FLAGS) $(NATIVECCCOMPOPTS)
  DFLAGS=$(FLAGS) -g -DDEBUG $(NATIVECCCOMPOPTS)
  IFLAGS=$(FLAGS) -DCAML_INSTR
 +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)
 -PICFLAGS=$(FLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
-+PFLAGS=$(FLAGS) -pg -DPROFILING $(CFLAGS) $(NATIVECCPROFOPTS) $(NATIVECCCOMPOPTS)
 +PICFLAGS=$(FLAGS) $(CFLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
  
  COBJS=startup_aux.o startup.o \
 +PICFLAGS=$(FLAGS) $(CFLAGS) $(SHAREDCCCOMPOPTS) $(NATIVECCCOMPOPTS)
  
  COBJS=startup_aux.o startup.o \
This page took 0.025278 seconds and 4 git commands to generate.