geeqie: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
9f777787f6
commit
9e2ea242d5
1 changed files with 4 additions and 4 deletions
|
@ -16,6 +16,8 @@ distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz"
|
||||||
checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
|
checksum=4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
|
CFLAGS="-Wno-error -fcommon"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# Missing from release tarball, and requires git tree to generate
|
# Missing from release tarball, and requires git tree to generate
|
||||||
sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
|
sed -e "/readme_DATA/s/ChangeLog\(.html\)\?//g" -i Makefile.am
|
||||||
|
@ -24,9 +26,7 @@ post_extract() {
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
# musl gives many warnings and stops compiling after many warnings
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CFLAGS="$CFLAGS -Wno-error"
|
make ${makejobs} CFLAGS="${CFLAGS}"
|
||||||
}
|
}
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue