View | Details | Raw Unified | Return to bug 241063
Collapse All | Expand All

(-)textproc/rubygem-sassc/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	sassc
4
PORTNAME=	sassc
5
PORTVERSION=	2.2.1
5
PORTVERSION=	2.2.1
6
PORTREVISION=	1
6
CATEGORIES=	textproc rubygems
7
CATEGORIES=	textproc rubygems
7
MASTER_SITES=	RG
8
MASTER_SITES=	RG
8
9
(-)textproc/rubygem-sassc/files/patch-ext-extconf.rb (-11 lines)
Removed Link Here
1
--- ext/extconf.rb.orig	2019-09-07 21:32:44 UTC
2
+++ ext/extconf.rb
3
@@ -28,7 +28,7 @@ end
4
 if enable_config('lto', true)
5
   $CFLAGS << ' -flto'
6
   $CXXFLAGS << ' -flto'
7
-  $LDFLAGS << ' -flto'
8
+  $LDFLAGS << ' -flto -fuse-ld=lld'
9
 end
10
 
11
 # Disable noisy compilation warnings.
(-)textproc/rubygem-sassc/files/patch-ext_extconf.rb (+21 lines)
Added Link Here
1
--- ext/extconf.rb.orig	2019-10-04 18:08:34 UTC
2
+++ ext/extconf.rb
3
@@ -19,18 +19,6 @@ if enable_config('static-stdlib', false)
4
   $LDFLAGS << ' -static-libgcc -static-libstdc++'
5
 end
6
 
7
-# Set to false when building binary gems
8
-if enable_config('march-tune-native', true)
9
-  $CFLAGS << ' -march=native -mtune=native'
10
-  $CXXFLAGS << ' -march=native -mtune=native'
11
-end
12
-
13
-if enable_config('lto', true)
14
-  $CFLAGS << ' -flto'
15
-  $CXXFLAGS << ' -flto'
16
-  $LDFLAGS << ' -flto'
17
-end
18
-
19
 # Disable noisy compilation warnings.
20
 $warnflags = ''
21
 $CFLAGS.gsub!(/[\s+](-ansi|-std=[^\s]+)/, '')

Return to bug 241063