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>2019-08-06 13:54:58 +0200
commita1f62e90cae386f57038c24a5c2e1ecabaa3e818 (patch)
tree8870d3a441338e27bed5289ceca1ce7c7cb386b5
parent52feea9c71d870a7de1ccf46a6496d9e42e18a8c (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