Removed unnecessary linker flags when building the Python extension
This resolves errors when compiling on OS X when the full set of cross-compilers (e.g. for ppc) are not present, as well as several warnings even when they are.
This commit is contained in:
parent
58e3bade9a
commit
79a0165260
1 changed files with 0 additions and 1 deletions
|
|
@ -8,7 +8,6 @@ localenv = env.Clone()
|
|||
gcv = distutils.sysconfig.get_config_var
|
||||
|
||||
localenv.Append(CPPPATH=[gcv('INCLUDEPY'), env['python_array_include']],
|
||||
SHLINKFLAGS=gcv('LDFLAGS'),
|
||||
CPPFLAGS=((gcv('BASECFLAGS') or '').split() +
|
||||
(gcv('OPT') or '').split()))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue