mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
games-action/blackvoxel: add -fno-strict-aliasing
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop toolchain-funcs xdg
|
||||
inherit desktop flag-o-matic toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Blackvoxel Video Game"
|
||||
HOMEPAGE="https://www.blackvoxel.com/"
|
||||
@@ -31,6 +31,12 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-savedir.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
append-cflags -fno-strict-aliasing
|
||||
append-cxxflags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export CC="$(tc-getCC)"
|
||||
|
||||
Reference in New Issue
Block a user