1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Date: Tue, 6 Aug 2019 13:46:48 +0200
Subject: add_fpic_to_cflags
===================================================================
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 8ea6205..640cafb 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ endif
ifdef FT2_LIB
FT2_FLAG = -DHAVE_FREETYPE
endif
-CFLAGS = $(CINCLUDES) -W -Wall -Wno-unused \
+CFLAGS = $(CINCLUDES) -fPIC -W -Wall -Wno-unused \
$(JPEG_FLAG) $(FT2_FLAG) $(SAFETY_FLAG)
OCAMLCFLAGS=-labels -unsafe
|