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
|
||||
replaces="freeorion-data>=0"
|
||||
|
||||
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||
broken="Runs out of memory, see https://build.voidlinux.org/builders/i686_builder/builds/47122/steps/shell_3/logs/stdio"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
_build_no=${_release/*_/}
|
||||
sed -i -e "s|\${FreeOrion_BUILD_NO}|$_build_no|" util/Version.cpp.in
|
||||
pre_configure() {
|
||||
cp util/Version.cpp.in util/Version.cpp
|
||||
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
||||
CXXFLAGS+=" -g1"
|
||||
LDFLAGS+=" -Wl,--no-keep-memory"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue