From 28c0fb6f471717af0d0170b3019c5d5cf44d4cfe Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 21 Apr 2020 19:47:18 +0000 Subject: Update to 2.3.0 Changes: https://github.com/sass/sassc-ruby/blob/master/CHANGELOG.md --- textproc/rubygem-sassc/files/patch-ext-extconf.rb | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'textproc/rubygem-sassc/files/patch-ext-extconf.rb') diff --git a/textproc/rubygem-sassc/files/patch-ext-extconf.rb b/textproc/rubygem-sassc/files/patch-ext-extconf.rb index f93016738474..ed6bb3e919bf 100644 --- a/textproc/rubygem-sassc/files/patch-ext-extconf.rb +++ b/textproc/rubygem-sassc/files/patch-ext-extconf.rb @@ -1,16 +1,10 @@ ---- ext/extconf.rb.orig 2019-10-20 13:40:05 UTC +--- ext/extconf.rb.orig 2020-04-20 21:57:28 UTC +++ ext/extconf.rb -@@ -19,18 +19,6 @@ if enable_config('static-stdlib', false) - $LDFLAGS << ' -static-libgcc -static-libstdc++' - end +@@ -29,12 +29,6 @@ end + # see: https://github.com/sass/sassc-ruby/issues/148 + enable_lto_by_default = (Gem::Platform.local.os == "darwin" && !ENV['NIX_CC'].nil?) --# Set to false when building binary gems --if enable_config('march-tune-native', true) -- $CFLAGS << ' -march=native -mtune=native' -- $CXXFLAGS << ' -march=native -mtune=native' --end -- --if enable_config('lto', true) +-if enable_config('lto', enable_lto_by_default) - $CFLAGS << ' -flto' - $CXXFLAGS << ' -flto' - $LDFLAGS << ' -flto' -- cgit v1.2.3