File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Bug fixes:
10
10
* Fix ` StringIO ` to set position correctly after reading multi-byte characters (#2207 , @aardvark179 ).
11
11
* Update ` Process ` methods to use ` module_function ` (@bjfish ).
12
12
* Fix ` File::Stat ` 's ` #executable? ` and ` #executable_real? ` predicates that unconditionally returned ` true ` for a superuser (#2690 , @andrykonchin ).
13
+ * The ` strip ` option ` --keep-section=.llvmbc ` is not supported on macOS (#2697 , @eregon ).
13
14
14
15
Compatibility:
15
16
Original file line number Diff line number Diff line change 1
- 7
1
+ 8
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ module RbConfig
68
68
ranlib = Truffle ::Boot . toolchain_executable ( :RANLIB )
69
69
strip = Truffle ::Boot . toolchain_executable ( :STRIP )
70
70
71
+ strip = "#{ strip } --keep-section=.llvmbc" unless Truffle ::Platform . darwin?
72
+
71
73
# Determine the various flags for native compilation
72
74
optflags = ''
73
75
debugflags = ''
@@ -188,7 +190,7 @@ module RbConfig
188
190
'rubyarchhdrdir' => rubyhdrdir . dup ,
189
191
'rubyhdrdir' => rubyhdrdir ,
190
192
'SOEXT' => Truffle ::Platform ::SOEXT . dup ,
191
- 'STRIP' => " #{ strip } --keep-section=.llvmbc" ,
193
+ 'STRIP' => strip ,
192
194
'sysconfdir' => "#{ prefix } /etc" , # doesn't exist, as in MRI
193
195
'target_cpu' => host_cpu ,
194
196
'target_os' => host_os ,
You can’t perform that action at this time.
0 commit comments