From 35f3dfcb1498a2b157a1019b5d1572d95c670e8d Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Jan 17 2020 14:56:24 +0000 Subject: {sigh,etc}/python2.7-config: moved. vars/build.vars:gdb:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ --with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/etc/python2.7-config. --- diff --git a/etc/python2.7-config b/etc/python2.7-config new file mode 100755 index 0000000..5888c81 --- /dev/null +++ b/etc/python2.7-config @@ -0,0 +1,23 @@ +#!/bin/sh + +set -eu + +for arg ; do + case "$arg" in + --version) + printf 'Python 2.7.15' + ;; + + --includes) + ;; + + --ldflags) + printf '%s' '-lpython2.7' + ;; + + --exec-prefix) + ;; + esac +done + +exit 0 diff --git a/sigh/python2.7-config b/sigh/python2.7-config deleted file mode 100755 index 5888c81..0000000 --- a/sigh/python2.7-config +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -set -eu - -for arg ; do - case "$arg" in - --version) - printf 'Python 2.7.15' - ;; - - --includes) - ;; - - --ldflags) - printf '%s' '-lpython2.7' - ;; - - --exec-prefix) - ;; - esac -done - -exit 0 diff --git a/vars/build.vars b/vars/build.vars index d125e8c..a740dfe 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1576,7 +1576,7 @@ tmux tzdb vim yabasic xcowsay xeyes xorriso xterm xwd"; : ${PKG_GDB_URL:=ftp://sourceware.org/pub/gdb/releases/gdb-${PKG_GDB_VERSION}.tar.gz}; : ${PKG_GDB_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"}; : ${PKG_GDB_CXXFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"}; -: ${PKG_GDB_CONFIGURE_ARGS_EXTRA:="--with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/sigh/python2.7-config"}; +: ${PKG_GDB_CONFIGURE_ARGS_EXTRA:="--with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/etc/python2.7-config"}; : ${PKG_GDB_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 --sysroot=${PREFIX_NATIVE}:LDFLAGS_FOR_TARGET=--sysroot=${PREFIX_NATIVE}"}; : ${PKG_GDB_LIBTOOL:=rdlibtool}; : ${PKG_GDB_MAKEFLAGS_BUILD_EXTRA:="SYSROOT_FLAGS=--sysroot=${PREFIX_NATIVE}"};