summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>2019-08-06 13:46:48 +0200
committerStéphane Glondu <glondu@debian.org>2023-08-12 07:47:33 +0200
commite3667cf6caf172f341cc0061d10c5dffebe00aaf (patch)
tree170177a7cd0c1367b5f5317b9b746471496b8c61
parent0950d942a60845ac6da2c15e986cb1f75957d9a2 (diff)
support_custom_cflags
=================================================================== Gbp-Pq: Name support_custom_cflags.patch
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 640cafb..2605c33 100644
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,8 @@ endif
ifdef FT2_LIB
FT2_FLAG = -DHAVE_FREETYPE
endif
-CFLAGS = $(CINCLUDES) -fPIC -W -Wall -Wno-unused \
- $(JPEG_FLAG) $(FT2_FLAG) $(SAFETY_FLAG)
+override CFLAGS += $(CINCLUDES) -fPIC -W -Wall -Wno-unused \
+ $(JPEG_FLAG) $(FT2_FLAG) $(SAFETY_FLAG)
OCAMLCFLAGS=-labels -unsafe
OCAMLOPTFLAGS=-labels -inline 2