binutils rebuild

This commit is contained in:
Rmys
2020-12-15 22:36:54 +03:00
committed by GitHub
parent 38305080bf
commit e079b4204e
2 changed files with 12 additions and 3 deletions
+4 -2
View File
@@ -19,13 +19,14 @@ def setup():
# Build binutils with LD_SYMBOLIC_FUNCTIONS=1 and reduce PLT relocations in libfd.so by 84%. # Build binutils with LD_SYMBOLIC_FUNCTIONS=1 and reduce PLT relocations in libfd.so by 84%.
#shelltools.export("LD_SYMBOLIC_FUNCTIONS", "1") #shelltools.export("LD_SYMBOLIC_FUNCTIONS", "1")
shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure') shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
autotools.configure('--enable-shared \ autotools.configure('--enable-shared \
--build=%s \ --build=%s \
--enable-threads \ --enable-threads \
--enable-ld=default \ --enable-ld=default \
--enable-gold \ --enable-gold \
--enable-plugins \ --enable-plugins \
--enable-targets=x86_64-pep \
--with-pkgversion="Pisi Linux" \ --with-pkgversion="Pisi Linux" \
--with-bugurl=http://bugs.pisilinux.org/ \ --with-bugurl=http://bugs.pisilinux.org/ \
%s \ %s \
@@ -40,6 +41,7 @@ def build():
# check fails because of LD_LIBRARY_PATH # check fails because of LD_LIBRARY_PATH
#def check(): #def check():
#autotools.make("-k LDFLAGS="" check || true")
# autotools.make("check -j1") # autotools.make("check -j1")
def install(): def install():
@@ -77,7 +79,7 @@ def install():
unneeded_man={"dlltool.1"} unneeded_man={"dlltool.1"}
for i in unneeded_man: for i in unneeded_man:
pisitools.remove("/usr/share/man/man1/%s" %i) pisitools.remove("/usr/share/man/man1/%s" %i)
#pisitools.remove("/usr/share/info/configure.info") #pisitools.remove("/usr/share/info/configure.info")
#pisitools.remove("/usr/share/info/standards.info") #pisitools.remove("/usr/share/info/standards.info")
+8 -1
View File
@@ -31,10 +31,17 @@
</Package> </Package>
<History> <History>
<Update release="7">
<Date>2020-12-03</Date>
<Version>2.35.1</Version>
<Comment>Version bump -phase1.</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="6"> <Update release="6">
<Date>2020-10-21</Date> <Date>2020-10-21</Date>
<Version>2.35.1</Version> <Version>2.35.1</Version>
<Comment>Version bump -phase1</Comment> <Comment>Version bump -phase1.</Comment>
<Name>Idris Kalp</Name> <Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>
</Update> </Update>