Add Game env optimised for video games.

This commit is contained in:
inference 2022-10-01 18:46:02 +01:00
parent e876cb143e
commit 4b1c237a0b

12
portage/env/game.conf vendored Normal file
View File

@ -0,0 +1,12 @@
# Portage env Clang - Game.
# Copyright 2022 Inference
# Flags.
## Compiler flags.
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__"
CXXFLAGS="-march=znver3 -O2 -pipe"
## Linker flags.
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"