godot: fix builderror due to wrong use of CXXFLAGS

This commit is contained in:
Enno Boland 2018-04-28 08:34:31 +02:00
parent 1bfa352c4d
commit 106471f0e5
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -25,10 +25,15 @@ CFLAGS+=" -fPIE -fPIC"
LDFLAGS+=" -pie"
post_extract() {
sed -i -e 's/"-std=c++11"/"-std=c++11"/' modules/etc/SCsub
sed -i -e "/openssl_version =/,+4d" platform/x11/detect.py
sed -i -e 's/#ifdef CRASH_HANDLER_ENABLED/#if defined(CRASH_HANDLER_ENABLED) \&\& defined(__GLIBC__)/' platform/x11/crash_handler_x11.cpp
}
pre_build() {
export CXXFLAGS=" $CXXFLAGS "
}
do_install() {
vlicense LICENSE.txt
vinstall ${FILESDIR}/godot.desktop 644 /usr/share/applications/