summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>2013-05-15 17:19:47 +0200
committerRomain Beauxis <toots@rastageeks.org>2013-05-15 17:19:47 +0200
commit27d43e996e0a4f14ca44c59fe1faa556f308bcd2 (patch)
treee29e3bd7308194e69c4a9fe35f0c6295b68612cd
parentdbb02381de77446e92f7129cc078fa9645ccf537 (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