diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-04-21 19:47:18 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-04-21 19:47:18 +0000 |
commit | 28c0fb6f471717af0d0170b3019c5d5cf44d4cfe (patch) | |
tree | 4b2a268e030fea06fa6031977c164a59a2cc5573 /textproc/rubygem-sassc/files/patch-ext-extconf.rb | |
parent | Update to 3.18.0 (diff) |
Update to 2.3.0
Changes: https://github.com/sass/sassc-ruby/blob/master/CHANGELOG.md
Notes
Notes:
svn path=/head/; revision=532391
Diffstat (limited to 'textproc/rubygem-sassc/files/patch-ext-extconf.rb')
-rw-r--r-- | textproc/rubygem-sassc/files/patch-ext-extconf.rb | 16 |
1 files changed, 5 insertions, 11 deletions
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' |