core rebuild

This commit is contained in:
Rmys
2020-12-16 21:17:28 +03:00
parent da486e317f
commit 348937e0f4
2 changed files with 5 additions and 7 deletions
+4 -4
View File
@@ -26,10 +26,10 @@ def setup():
#shelltools.unlinkDir("Modules/_ctypes/libffi")
#shelltools.unlinkDir("Modules/_ctypes/libffi_msvc")
shelltools.unlinkDir("Modules/_ctypes/libffi_osx")
#shelltools.unlinkDir("Modules/_decimal/libmpdec")
shelltools.unlinkDir("Modules/_decimal/libmpdec")
shelltools.export("CFLAGS", "-I%s/temp/include -O3" %get.workDIR())
shelltools.export("LDFLAGS", "-L%s/temp/lib -lbz2 -lpthread -ldl" %get.workDIR())
#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
autotools.rawConfigure("LDSHARED='x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread'\
--prefix=/usr \
@@ -55,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*")