You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.3 KiB
72 lines
2.3 KiB
Index: configure |
|
--- configure.orig 2021-08-30 21:02:15.000000000 +0200 |
|
+++ configure 2021-08-31 22:31:59.627099000 +0200 |
|
@@ -4264,9 +4264,9 @@ |
|
CFLAGS=$ac_save_CFLAGS |
|
elif test $ac_cv_prog_cc_g = yes; then |
|
if test "$GCC" = yes; then |
|
- CFLAGS="-g -O2" |
|
+ CFLAGS="-O2" |
|
else |
|
- CFLAGS="-g" |
|
+ CFLAGS="" |
|
fi |
|
else |
|
if test "$GCC" = yes; then |
|
@@ -6936,7 +6936,7 @@ |
|
OPT="-g -O0 -Wall" |
|
fi |
|
else |
|
- OPT="-g $WRAP -O3 -Wall" |
|
+ OPT="$WRAP -O3 -Wall" |
|
fi |
|
;; |
|
*) |
|
@@ -9673,7 +9673,7 @@ |
|
then |
|
LINKFORSHARED="-Wl,--export-dynamic" |
|
fi;; |
|
- SunOS/5*) case $CC in |
|
+ SunOS/5*) case gcc in |
|
*gcc*) |
|
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null |
|
then |
|
Index: setup.py |
|
--- setup.py.orig 2021-08-30 21:02:15.000000000 +0200 |
|
+++ setup.py 2021-08-31 23:41:26.126843000 +0200 |
|
@@ -728,12 +728,6 @@ |
|
add_dir_to_list(dir_list, directory) |
|
|
|
def configure_compiler(self): |
|
- # Ensure that /usr/local is always used, but the local build |
|
- # directories (i.e. '.' and 'Include') must be first. See issue |
|
- # 10520. |
|
- if not CROSS_COMPILING: |
|
- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') |
|
- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') |
|
# only change this for cross builds for 3.3, issues on Mageia |
|
if CROSS_COMPILING: |
|
self.add_cross_compiling_paths() |
|
@@ -1190,14 +1184,8 @@ |
|
# top of the normal inc_dirs. |
|
db_inc_paths = [ |
|
'/usr/include/db4', |
|
- '/usr/local/include/db4', |
|
'/opt/sfw/include/db4', |
|
- '/usr/include/db3', |
|
- '/usr/local/include/db3', |
|
- '/opt/sfw/include/db3', |
|
- # Fink defaults (https://www.finkproject.org/) |
|
'/sw/include/db4', |
|
- '/sw/include/db3', |
|
] |
|
# 4.x minor number specific paths |
|
for x in gen_db_minor_ver_nums(4): |
|
@@ -2014,6 +2002,7 @@ |
|
dotversion = dotversion[:-1] + '.' + dotversion[-1] |
|
tcl_include_sub = [] |
|
tk_include_sub = [] |
|
+ dotversion = '' |
|
for dir in self.inc_dirs: |
|
tcl_include_sub += [dir + os.sep + "tcl" + dotversion] |
|
tk_include_sub += [dir + os.sep + "tk" + dotversion]
|
|
|