Skip to content

Commit 7902be7

Browse files
committed
Update platform normalization
1 parent b2e380f commit 7902be7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/sass/Rakefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,13 @@ module SassConfig
326326
when /amd64|x86_64|x64/
327327
'x86_64'
328328
when /i\d86|x86|i86pc/
329-
'x86'
329+
'i386'
330330
when /arm64|aarch64/
331331
'aarch64'
332332
when /arm/
333333
'arm'
334334
when /ppc64le|powerpc64le/
335-
'powerpc64le'
335+
'ppc64le'
336336
else
337337
RbConfig::CONFIG['host_cpu']
338338
end
@@ -380,7 +380,7 @@ module SassConfig
380380
end
381381

382382
cpu = case Platform::CPU
383-
when 'x86'
383+
when 'i386'
384384
'ia32'
385385
when 'x86_64'
386386
'x64'
@@ -424,13 +424,13 @@ module SassConfig
424424
end
425425

426426
cpu = case Platform::CPU
427-
when 'x86'
427+
when 'i386'
428428
'x86_32'
429429
when 'x86_64'
430430
'x86_64'
431431
when 'aarch64'
432432
'aarch_64'
433-
when 'powerpc64le'
433+
when 'ppc64le'
434434
'ppcle_64'
435435
when 's390x'
436436
's390_64'

0 commit comments

Comments
 (0)