File: buildflags

package info (click to toggle)
planets 0.1.13-20
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 532 kB
  • sloc: ml: 4,921; makefile: 207; ansic: 38
file content (21 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Date: Sat, 7 Sep 2019 20:41:11 +0200
Subject: Remove -custom build flag, replace -g with variable $(DEBUGFLAGS)

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 0880807..2e7c022 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ INCLUDES=-I +labltk
 CAMLP4=-pp $(CAMLP4O)
 OCAMLDEP=ocamldep
 CAMLLIBS=unix.cma str.cma labltk.cma # libjpf.cma mylibs.cma
-OCAMLFLAGS=$(INCLUDES) $(CAMLP4) -g -custom $(CAMLLIBS) -cclib -lunix 
+OCAMLFLAGS=$(INCLUDES) $(CAMLP4) $(DEBUGFLAGS) $(CAMLLIBS) -cclib -lunix
 OCAMLOPTFLAGS=$(INCLUDES) $(CAMLP4) $(CAMLLIBS:.cma=.cmxa) -inline 50 -cclib -lunix
 
 ifdef PROFILING