File tree 1 file changed +1
-20
lines changed
1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ def run(self):
290
290
class CheckingBuildExt (build_ext ):
291
291
"""
292
292
Subclass build_ext to get clearer report if Cython is necessary.
293
- Also, add some platform based compiler flags.
293
+
294
294
"""
295
295
296
296
def check_cython_extensions (self , extensions ):
@@ -304,27 +304,8 @@ def check_cython_extensions(self, extensions):
304
304
305
305
def build_extensions (self ):
306
306
self .check_cython_extensions (self .extensions )
307
- self .add_gnu_inline_flag (self .extensions )
308
307
build_ext .build_extensions (self )
309
308
310
- def add_gnu_inline_flag (self , extensions ):
311
- '''
312
- Add CFLAGS `-fgnu89-inline` for clang on FreeBSD 10+
313
- '''
314
- if not platform .system () == 'FreeBSD' :
315
- return
316
-
317
- try :
318
- bsd_release = float (platform .release ().split ('-' )[0 ])
319
- except ValueError : # unknow freebsd version
320
- return
321
-
322
- if bsd_release < 10 : # 9 or earlier still using gcc42
323
- return
324
-
325
- for ext in extensions :
326
- ext .extra_compile_args += ['-fgnu89-inline' ]
327
-
328
309
329
310
class CythonCommand (build_ext ):
330
311
"""Custom distutils command subclassed from Cython.Distutils.build_ext
You can’t perform that action at this time.
0 commit comments