diff options
author | J5lx | 2015-07-03 16:22:05 +0200 |
---|---|---|
committer | J5lx | 2015-07-03 16:22:05 +0200 |
commit | fa6d777840d869a59caf6f385156d04f7e963363 (patch) | |
tree | 8180720651e4425609f42d58263e4394ed90fdf0 /support_custom_cflags.patch | |
download | aur-fa6d777840d869a59caf6f385156d04f7e963363.tar.gz |
Initial import
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 |