Merge pull request #3094 from HiassofT/le9-lcdd-fix

lcdd: build with optimization
This commit is contained in:
CvH 2018-11-08 14:43:18 +01:00 committed by GitHub
commit e8e28165ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
106:
- Build with -O3 to avoid undefined symbols
105:
- Rebuild after glibc bump
104:
- Update to 466edd3

View File

@ -4,7 +4,7 @@
PKG_NAME="lcdd"
PKG_VERSION="466edd3"
PKG_SHA256="786aab192a788fd09119645d60576ba258eec3de1a455aaa6d9ddea5e30e1749"
PKG_REV="105"
PKG_REV="106"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://lcdproc.org/"
@ -28,6 +28,10 @@ PKG_CONFIGURE_OPTS_TARGET="--with-ft-prefix=$SYSROOT_PREFIX/usr \
--disable-libpng \
--enable-drivers=all"
pre_configure_target() {
CFLAGS="$CFLAGS -O3"
}
addon() {
drivers="none|$(cat $PKG_BUILD/.$TARGET_NAME/config.log | sed -n "s|^DRIVERS=' \(.*\)'|\1|p" | sed "s|.so||g" | tr ' ' '|')"