python3:ver bump

This commit is contained in:
blue-devil
2020-05-23 00:33:50 +03:00
parent 153478182a
commit 0f01d3b59f
2 changed files with 19 additions and 11 deletions
+3 -4
View File
@@ -15,7 +15,7 @@ def setup():
autotools.make('CC=%s AR=%s RANLIB=%s CFLAGS="%s -D_FILE_OFFSET_BITS=64 -fPIC" libbz2.a' % (get.CC(), get.AR(), get.RANLIB(), get.CFLAGS()))
shelltools.system("cp libbz2.a %s/temp/lib/libbz2.a" % get.workDIR())
shelltools.cd("..")
pisitools.flags.add("-fwrapv")
pisitools.dosed("Lib/cgi.py","^#.* /usr/local/bin/python","#!/usr/bin/python")
@@ -31,8 +31,7 @@ def setup():
shelltools.export("CFLAGS", "-I%s/temp/include -O3" %get.workDIR())
shelltools.export("LDFLAGS", "-L%s/temp/lib -lbz2 -lpthread -ldl" %get.workDIR())
# fix unused direct dependency analysis
#shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
autotools.rawConfigure("\
autotools.rawConfigure("LDSHARED='x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread'\
--prefix=/usr \
--enable-shared \
--with-threads \
@@ -56,4 +55,4 @@ def install():
pisitools.removeDir("/usr/lib/python3.8/idlelib")
pisitools.removeDir("/usr/lib/python3.8/tkinter")
pisitools.removeDir("/usr/lib/python3.8/turtledemo")
pisitools.remove("/usr/bin/idle3*")
pisitools.remove("/usr/bin/idle3*")