File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,13 @@ module RbConfig
72
72
strip = Truffle ::Boot . toolchain_executable ( :STRIP )
73
73
74
74
strip = "#{ strip } --keep-section=.llvmbc" unless Truffle ::Platform . darwin?
75
- gcc , clang = false , true
76
75
else
77
76
if Truffle ::Platform . linux?
78
77
ar = 'gcc-ar'
79
78
cc = 'gcc' # -std=gnu99 ?
80
79
cxx = 'g++'
81
80
ranlib = 'gcc-ranlib'
82
81
strip = 'strip -S -x'
83
- gcc , clang = true , false
84
82
elsif Truffle ::Platform . darwin?
85
83
ar = 'ar'
86
84
cc = 'clang'
@@ -90,7 +88,6 @@ module RbConfig
90
88
# This is notably necessary for grpc where the current logic does not append -x for TruffleRuby:
91
89
# https://github.com/grpc/grpc/blob/54f65e0dbd2151a3ba2ad364327c0c31b200a5ae/src/ruby/ext/grpc/extconf.rb#L125-L126
92
90
strip = 'strip -A -n -x'
93
- gcc , clang = false , true
94
91
cflags_pre = '-fdeclspec '
95
92
else
96
93
raise 'Unknown platform'
@@ -107,7 +104,6 @@ module RbConfig
107
104
'-Wno-incompatible-pointer-types' , # Fix byebug 8.2.1 compile (st_data_t error)
108
105
'-Wno-format-extra-args' , # Our PRIsVALUE generates this because compilers ignore printf extensions
109
106
]
110
- warnflags << '-Wno-format-invalid-specifier' if clang # Our PRIsVALUE generates this because compilers ignore printf extensions
111
107
112
108
defs = ''
113
109
cppflags = ''
You can’t perform that action at this time.
0 commit comments