Skip to content

Commit

Permalink
Merge pull request #3094 from HiassofT/le9-lcdd-fix
Browse files Browse the repository at this point in the history
lcdd: build with optimization
  • Loading branch information
CvH authored Nov 8, 2018
2 parents 1a60beb + 5f3a2c0 commit e8e2816
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/addons/service/lcdd/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
106:
- Build with -O3 to avoid undefined symbols

105:
- Rebuild after glibc bump

104:
- Update to 466edd3

Expand Down
6 changes: 5 additions & 1 deletion packages/addons/service/lcdd/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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 ' ' '|')"

Expand Down

0 comments on commit e8e2816

Please sign in to comment.