diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh index ea82158de0d33504d795846aa2b8632d365950c2..a99cdd2663abd64b028d8cee83af60c7d47c9dba 100755 --- a/ShellB3/shallbethree.sh +++ b/ShellB3/shallbethree.sh @@ -5488,17 +5488,17 @@ sed -i.bak4 -e 's:*.lo) func_lo2o :*) func_lo2o :g' lt* SOSAYWEALL make_patch gdal <<SOSAYWEALL diff -ru swig/python/setup.py swig/python/setup.py ---- swig/python/setup.py 2015-06-03 03:59:47.000000000 -0500 -+++ swig/python/setup.py 2015-08-22 19:55:14.000000000 -0500 -@@ -201,7 +201,7 @@ - extra_link_args = [] - extra_compile_args = [] - --if sys.platform == 'darwin' and [int(x) for x in os.uname()[2].split('.')] >= [11, 0, 0]: -+if sys.platform == 'darwin' and [int(x) for x in os.uname()[2].split('.')] >= [11, 0, 0] and False: - # since MacOS X 10.9, clang no longer accepts -mno-fused-madd - #extra_compile_args.append('-Qunused-arguments') - os.environ['ARCHFLAGS'] = '-Wno-error=unused-command-line-argument-hard-error-in-future' +--- swig/python/setup.py 2020-09-01 08:37:39.000000000 +0000 ++++ swig/python/setup.py 2021-02-08 20:45:36.386832391 +0000 +@@ -278,7 +278,7 @@ + ext.extra_compile_args += [cxx11_flag] + + # Adding arch flags here if OS X and compiler is clang +- if sys.platform == 'darwin' and [int(x) for x in os.uname()[2].split('.')] >= [11, 0, 0]: ++ if sys.platform == 'darwin' and [int(x) for x in os.uname()[2].split('.')] >= [11, 0, 0] and False: + # since MacOS X 10.9, clang no longer accepts -mno-fused-madd + # extra_compile_args.append('-Qunused-arguments') + clang_flag = '-Wno-error=unused-command-line-argument-hard-error-in-future' SOSAYWEALL CC="${CC} $(test -n "${CC}" || echo gcc ) -I${BASE}/include -L${BASE}/lib" CXX="${CXX} $( test -n "${CXX}" || echo g++ ) -I${BASE}/include -L${BASE}/lib" LDFLAGS="${LDFLAGS} -L${BASE}/lib" \