comic-git: use our own CC and disable -Werror
This commit is contained in:
parent
183570e8da
commit
4a71188d7c
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'comic-git'
|
||||
pkgname=comic-git
|
||||
version=20140919
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="git"
|
||||
makedepends="libX11-devel libjpeg-turbo-devel"
|
||||
build_style=gnu-makefile
|
||||
|
@ -21,8 +21,10 @@ do_fetch() {
|
|||
pre_build() {
|
||||
sed -i 's| -I/usr/include||g' config.mk
|
||||
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
|
||||
sed -i 's| -Werror||g' config.mk
|
||||
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
||||
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
||||
sed -i 's|^CC|#CC|g' config.mk
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in New Issue