gatling: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
1d7a619b45
commit
d86d2ac159
1 changed files with 8 additions and 1 deletions
|
@ -12,7 +12,14 @@ distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
|
|||
checksum=6fa329d0ced0c80deb8dde5460e9d9e984bee94f265043d7fdec0e253dce9aa4
|
||||
make_build_target="gatling dl getlinks"
|
||||
make_install_args="prefix=/usr MANDIR=/usr/share/man"
|
||||
CFLAGS+=" -std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat"
|
||||
|
||||
CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
|
||||
|
||||
pre_build() {
|
||||
vsed -i GNUmakefile \
|
||||
-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
|
||||
-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
vmkdir usr/share/man/man1
|
||||
|
|
Loading…
Reference in a new issue