gdb rebuild guile.

This commit is contained in:
4fury-c3440d8
2023-02-05 23:06:31 +03:00
parent ab4caca005
commit 77ccfc393a
3 changed files with 46 additions and 11 deletions
+3 -7
View File
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
@@ -10,17 +10,14 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
#shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure')
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("../configure \
--enable-tui \
--prefix=/usr \
--disable-nls \
--with-python \
--disable-rpath \
--with-guile=guile-2.0 \
--with-system-readline \
--enable-source-highlight \
--with-python=/usr/bin/python \
@@ -28,7 +25,6 @@ def setup():
--with-system-gdbinit=/etc/gdb/gdbinit \
--with-separate-debug-dir=/usr/lib/debug")
def build():
shelltools.cd("build")
autotools.make()