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