smu: enable optimizations for -D_FORTIFY_SOURCE=2.
This commit is contained in:
parent
1965180017
commit
5608597042
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'smu'
|
# Template file for 'smu'
|
||||||
pkgname=smu
|
pkgname=smu
|
||||||
version=1.4
|
version=1.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="INCS=-I. LIBS="
|
make_build_args="INCS=-I. LIBS="
|
||||||
short_desc="Simple markup - markdown like syntax"
|
short_desc="Simple markup - markdown like syntax"
|
||||||
|
@ -12,10 +12,10 @@ distfiles="https://github.com/Gottox/smu/archive/v${version}.tar.gz"
|
||||||
checksum="378f24e6cff54dcfcbc7a17a88f16efb59c0cda1d35f58967e16fd990ba15f45"
|
checksum="378f24e6cff54dcfcbc7a17a88f16efb59c0cda1d35f58967e16fd990ba15f45"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
sed -i 's|^CFLAGS =|CFLAGS +=|g; s|-O0||g' config.mk
|
||||||
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall LICENSE 644 usr/share/licenses/smu
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue