diff options
Diffstat (limited to 'support_custom_cflags.patch')
-rw-r--r-- | support_custom_cflags.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/support_custom_cflags.patch b/support_custom_cflags.patch new file mode 100644 index 000000000000..92df8009d725 --- /dev/null +++ b/support_custom_cflags.patch @@ -0,0 +1,15 @@ +Index: gdo/Makefile +=================================================================== +--- gdo.orig/Makefile 2011-10-11 18:47:57.013045759 +0200 ++++ gdo/Makefile 2011-10-11 18:56:41.173056205 +0200 +@@ -26,8 +26,8 @@ + 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 |