freeorion: fix linking step
This commit is contained in:
parent
6157778907
commit
a0f8ddef7d
1 changed files with 6 additions and 7 deletions
|
@ -16,11 +16,10 @@ distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/
|
||||||
checksum=c6f62c3b400d50b336d62508ac5d5d656e4c0c8e57d0ff2b270f72381e68e1db
|
checksum=c6f62c3b400d50b336d62508ac5d5d656e4c0c8e57d0ff2b270f72381e68e1db
|
||||||
replaces="freeorion-data>=0"
|
replaces="freeorion-data>=0"
|
||||||
|
|
||||||
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
pre_configure() {
|
||||||
broken="Runs out of memory, see https://build.voidlinux.org/builders/i686_builder/builds/47122/steps/shell_3/logs/stdio"
|
cp util/Version.cpp.in util/Version.cpp
|
||||||
fi
|
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
||||||
|
CXXFLAGS+=" -g1"
|
||||||
post_extract() {
|
LDFLAGS+=" -Wl,--no-keep-memory"
|
||||||
_build_no=${_release/*_/}
|
fi
|
||||||
sed -i -e "s|\${FreeOrion_BUILD_NO}|$_build_no|" util/Version.cpp.in
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue