codeblocks: remove XBPS_GCC_* usage
This commit is contained in:
parent
7b980e56b2
commit
63b7bb4e9f
1 changed files with 4 additions and 4 deletions
|
@ -3,9 +3,9 @@ pkgname=codeblocks
|
|||
version=17.12
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-wx-config=wx-config-gtk3"
|
||||
hostmakedepends="automake libtool pkg-config zip"
|
||||
makedepends="gtk+3-devel wxWidgets-gtk3-devel tinyxml-devel"
|
||||
configure_args="--with-wx-config=wx-config-gtk3"
|
||||
short_desc="Free C, C++ and Fortran IDE"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-3.0-only"
|
||||
|
@ -15,14 +15,14 @@ checksum=13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0
|
|||
|
||||
CXXFLAGS="-std=c++11 -fpermissive"
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" wxWidgets-devel tinyxml-devel"
|
||||
configure_args+=" ac_cv_exeext=no cb_cv_gcc_version=$XBPS_GCC_VERSION --with-gnu-ld"
|
||||
configure_args+=" ac_cv_exeext=no --with-gnu-ld"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
./bootstrap
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Patch auto_revision's Makefile.am to use the host compiler and flags
|
||||
cd src/build_tools/autorevision
|
||||
sed -i Makefile.am \
|
||||
|
|
Loading…
Reference in a new issue