x11-wm/subtle: unbreak the build against Ruby 3.x (upcoming default).

PR:	262543
This commit is contained in:
Yasuhiro Kimura 2022-03-15 02:13:44 +00:00 committed by Alexey Dokuchaev
parent 812a57dbca
commit d4888ff76f

View File

@ -27,7 +27,7 @@
"archdir" => "",
"revision" => "3224", #< Latest stable
- "cflags" => "-Wall -Werror -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
+ "cflags" => "-Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
+ "cflags" => "-Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -fdeclspec",
"cpppath" => "-I. -I$(builddir) -Isrc -Isrc/shared -Isrc/subtle -idirafter$(hdrdir) -idirafter$(archdir)",
"ldflags" => "-L$(libdir) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
"extflags" => "$(LDFLAGS) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",