Commit 82ce1ae6 authored by Cédric Boutillier's avatar Cédric Boutillier

remove preserve_flags.patch

parent e23f9b83
......@@ -8,6 +8,7 @@ ruby-rmagick (2.13.2-3) unstable; urgency=medium
+ bump dh compatibility to 9
+ build-depend on dpkg-dev
+ export flags in debian/rules
+ remove preserve_flags.patch
-- Cédric Boutillier <boutil@debian.org> Fri, 31 Jan 2014 07:16:52 +0100
......
Description: do not overwrite default flags to preserve hardening options
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2014-01-15
Forwarded: no
--- a/ext/RMagick/extconf.rb
+++ b/ext/RMagick/extconf.rb
@@ -162,10 +162,10 @@
end
# Save flags
- $CFLAGS = ENV["CFLAGS"].to_s + " " + `Magick-config --cflags`.chomp
- $CPPFLAGS = ENV["CPPFLAGS"].to_s + " " + `Magick-config --cppflags`.chomp
- $LDFLAGS = ENV["LDFLAGS"].to_s + " " + `Magick-config --ldflags`.chomp
- $LOCAL_LIBS = ENV["LIBS"].to_s + " " + `Magick-config --libs`.chomp
+ $CFLAGS << " " << `Magick-config --cflags`.chomp
+ $CPPFLAGS << " " << `Magick-config --cppflags`.chomp
+ $LDFLAGS << " " << `Magick-config --ldflags`.chomp
+ $LOCAL_LIBS << " " << `Magick-config --libs`.chomp
elsif RUBY_PLATFORM =~ /mingw/ # mingw
......@@ -4,5 +4,4 @@ relative_paths_on_examples
disable-version-check.diff
#fail-on-doc-failure.dpatch
fix_example_shebang.patch
preserve_flags.patch
format-security.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment