pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-sassc
Module Name: pkgsrc
Committed By: joerg
Date: Wed Dec 25 00:14:15 UTC 2019
Modified Files:
pkgsrc/www/ruby-sassc: distinfo
pkgsrc/www/ruby-sassc/patches: patch-ext_extconf.rb
Log Message:
Don't force LTO. At least with Clang, the linker also needs to support
it.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/ruby-sassc/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/ruby-sassc/patches/patch-ext_extconf.rb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ruby-sassc/distinfo
diff -u pkgsrc/www/ruby-sassc/distinfo:1.1 pkgsrc/www/ruby-sassc/distinfo:1.2
--- pkgsrc/www/ruby-sassc/distinfo:1.1 Tue Oct 1 15:34:50 2019
+++ pkgsrc/www/ruby-sassc/distinfo Wed Dec 25 00:14:15 2019
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2019/12/25 00:14:15 joerg Exp $
SHA1 (sassc-2.2.1.gem) = b496f902738b776c45bfda4e5331d46ab86f07a6
RMD160 (sassc-2.2.1.gem) = 98f0f990019e1da97c2c37979c537e6e75b05d2b
SHA512 (sassc-2.2.1.gem) = 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb
Size (sassc-2.2.1.gem) = 302080 bytes
-SHA1 (patch-ext_extconf.rb) = f7fe796136cf7c89dec971a8374709eb1b6183b8
+SHA1 (patch-ext_extconf.rb) = 541bee4de572121ba554be7975335102b699f0fa
SHA1 (patch-ext_libsass_src_units.hpp) = 4673a9f289bd41c03f184e30ece3ee6e1b2efdf8
SHA1 (patch-ext_libsass_src_util.hpp) = 29f7d12577af9b6b81306c55558b491b6ee16d69
Index: pkgsrc/www/ruby-sassc/patches/patch-ext_extconf.rb
diff -u pkgsrc/www/ruby-sassc/patches/patch-ext_extconf.rb:1.1 pkgsrc/www/ruby-sassc/patches/patch-ext_extconf.rb:1.2
--- pkgsrc/www/ruby-sassc/patches/patch-ext_extconf.rb:1.1 Tue Oct 1 15:34:50 2019
+++ pkgsrc/www/ruby-sassc/patches/patch-ext_extconf.rb Wed Dec 25 00:14:15 2019
@@ -1,8 +1,11 @@
-$NetBSD: patch-ext_extconf.rb,v 1.1 2019/10/01 15:34:50 ryoon Exp $
+$NetBSD: patch-ext_extconf.rb,v 1.2 2019/12/25 00:14:15 joerg Exp $
+
+Don't enable host-specific optimisations.
+Don't enable LTO.
--- ext/extconf.rb.orig 2019-09-27 13:30:47.910318310 +0000
+++ ext/extconf.rb
-@@ -19,12 +19,6 @@ if enable_config('static-stdlib', false)
+@@ -19,18 +19,6 @@ if enable_config('static-stdlib', false)
$LDFLAGS << ' -static-libgcc -static-libstdc++'
end
@@ -12,6 +15,12 @@ $NetBSD: patch-ext_extconf.rb,v 1.1 2019
- $CXXFLAGS << ' -march=native -mtune=native'
-end
-
- if enable_config('lto', true)
- $CFLAGS << ' -flto'
- $CXXFLAGS << ' -flto'
+-if enable_config('lto', true)
+- $CFLAGS << ' -flto'
+- $CXXFLAGS << ' -flto'
+- $LDFLAGS << ' -flto'
+-end
+-
+ # Disable noisy compilation warnings.
+ $warnflags = ''
+ $CFLAGS.gsub!(/[\s+](-ansi|-std=[^\s]+)/, '')
Home |
Main Index |
Thread Index |
Old Index