e189f6 vars/build.vars:python[23]:${PKG_ENV_VARS_EXTRA}: build w/ NATIVE_CFLAGS=-std=c99 -D_XOPEN_SOURCE=700 -I${PREFIX}/include:NATIVE_LDFLAGS=-L${PREFIX}/lib -ltinfo -Wl,-rpath,${PREFIX}/lib.

Authored and Committed by Lucio Andrés Illanes Albornoz 4 years ago
    vars/build.vars:python[23]:${PKG_ENV_VARS_EXTRA}: build w/ NATIVE_CFLAGS=-std=c99 -D_XOPEN_SOURCE=700 -I${PREFIX}/include:NATIVE_LDFLAGS=-L${PREFIX}/lib -ltinfo -Wl,-rpath,${PREFIX}/lib.
    
        
file modified
+2 -0
vars/build.vars CHANGED
@@ -1547,6 +1547,7 @@ bison chicken cparser diffutils flex lunix m4 make mandoc nasm patch patchutils
1547
1547
: ${PKG_PYTHON2_BUILD_DIR:=build/python2};
1548
1548
: ${PKG_PYTHON2_CONFIGURE:=build/sbpython2/configure};
1549
1549
: ${PKG_PYTHON2_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
1550
+ : ${PKG_PYTHON2_ENV_VARS_EXTRA:="NATIVE_CFLAGS=-std=c99 -D_XOPEN_SOURCE=700 -I${PREFIX}/include:NATIVE_LDFLAGS=-L${PREFIX}/lib -ltinfo -Wl,-rpath,${PREFIX}/lib"};
1550
1551
: ${PKG_PYTHON3_SHA256SUM:=ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91};
1551
1552
: ${PKG_PYTHON3_VERSION:=3.6.3};
1552
1553
: ${PKG_PYTHON3_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tgz"};
@@ -1555,6 +1556,7 @@ bison chicken cparser diffutils flex lunix m4 make mandoc nasm patch patchutils
1555
1556
: ${PKG_PYTHON3_BUILD_DIR:=build/python3};
1556
1557
: ${PKG_PYTHON3_CONFIGURE:=build/sbpython3/configure};
1557
1558
: ${PKG_PYTHON3_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
1559
+ : ${PKG_PYTHON3_ENV_VARS_EXTRA:="NATIVE_CFLAGS=-std=c99 -D_XOPEN_SOURCE=700 -I${PREFIX}/include:NATIVE_LDFLAGS=-L${PREFIX}/lib -ltinfo -Wl,-rpath,${PREFIX}/lib"};
1558
1560
: ${PKG_PYTHON3_INSTALL_FILES:="@python3=bin/python"};
1559
1561
: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
1560
1562
: ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};