libcaca/libcaca-ruby_am_cflags.patch

14 lines
492 B
Diff

Index: ruby/Makefile.am
===================================================================
--- ruby/Makefile.am.orig 2010-02-08 03:27:22.000000000 +0200
+++ ruby/Makefile.am 2010-11-20 07:31:50.000000000 +0200
@@ -8,7 +8,7 @@ rubysite_DATA = lib/caca.rb
TESTS = test
endif
-CFLAGS += -Wno-strict-prototypes -Wno-missing-prototypes
+AM_CFLAGS = -Wno-strict-prototypes -Wno-missing-prototypes
caca_la_CPPFLAGS = -I$(top_srcdir)/caca -I../caca $(RUBY_CFLAGS)
caca_la_SOURCES = caca.c \