m2m-aligner: use LDFLAGS.
This commit is contained in:
parent
52c6d7e3b7
commit
4a4382b974
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'm2m-aligner'
|
# Template file for 'm2m-aligner'
|
||||||
pkgname=m2m-aligner
|
pkgname=m2m-aligner
|
||||||
version=1.2
|
version=1.2
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="Implementation of many-to-many alignments for string transduction"
|
short_desc="Implementation of many-to-many alignments for string transduction"
|
||||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -11,7 +11,8 @@ checksum="ca5b1176293e91f797f3588c01390d046e2dae0278034044f8a081d6bd674e91"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -e "s,g++,$CXX,g" -i makefile
|
sed -e "s,g++,$CXX,g" -i makefile
|
||||||
sed -e "s,CFLAGS=,CFLAGS=${CFLAGS} ,g" -i makefile
|
sed -e "s|CFLAGS=|CFLAGS=${CFLAGS} |g" \
|
||||||
|
-e "s|LDFLAGS=|& ${LDFLAGS} |g" -i makefile
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
Loading…
Reference in New Issue