You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-wm/subtle/files/subtle-0.11.3224-flags.patch

24 lines
1012 B

--- subtle-0.11.3224-xi/Rakefile
+++ subtle-0.11.3224-xi/Rakefile
@@ -63,9 +63,9 @@
"hdrdir" => "",
"archdir" => "",
"revision" => "3224", #< Latest stable
- "cflags" => "-Wall -Werror -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
+ "cflags" => "#{ENV['CFLAGS']} -Wall -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99",
"cpppath" => "-I. -I$(builddir) -Isrc -Isrc/shared -Isrc/subtle -idirafter$(hdrdir) -idirafter$(archdir)",
- "ldflags" => "-L$(libdir) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
+ "ldflags" => "#{ENV['LDFLAGS']} -L$(libdir) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
"extflags" => "$(LDFLAGS) $(rpath) $(LIBS) -l$(RUBY_SO_NAME)",
"rpath" => "-L$(libdir) -Wl,-rpath=$(libdir)",
"checksums" => []
@@ -276,7 +276,7 @@
# Debug
if "yes" == @options["debug"]
- @options["cflags"] << " -g -DDEBUG"
+ @options["cflags"] << " -DDEBUG"
else
@options["cflags"] << " -DNDEBUG"
end