SMC: fix build

This commit is contained in:
Michael Gehring 2016-04-06 11:44:15 +02:00 committed by Juan RP
parent 76fbcdd508
commit 3d899d6976
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'SMC'.
pkgname=SMC
version=1.9
revision=1
revision=2
wrksrc=${pkgname,,}-${version}
build_style=gnu-configure
hostmakedepends="automake libtool gettext-devel pkg-config unzip"
@ -20,7 +20,7 @@ checksum="
c5bb2e1830c7cbe499c93851f5a02b2b900b4730d2c7a133a44a7b43a297dab8"
CXXFLAGS="-fpermissive -std=c++11"
LDFLAGS="-lX11 -lboost_system"
LDFLAGS="-Wl,--no-as-needed -lX11 -lboost_system"
post_extract() {
# remove CRs from end of line