From 35f3dfcb1498a2b157a1019b5d1572d95c670e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 17 Jan 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. --- etc/python2.7-config | 23 +++++++++++++++++++++++ sigh/python2.7-config | 23 ----------------------- vars/build.vars | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100755 etc/python2.7-config delete mode 100755 sigh/python2.7-config diff --git a/etc/python2.7-config b/etc/python2.7-config new file mode 100755 index 00000000..5888c816 --- /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 5888c816..00000000 --- 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 d125e8c4..a740dfe1 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}"}; -- cgit v1.2.3