Add Malloc - Basic env.
This commit is contained in:
parent
62e44901cb
commit
0fe96dafe0
16
portage/env/malloc-basic.conf
vendored
Normal file
16
portage/env/malloc-basic.conf
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# Portage - env - Clang - Malloc, Basic
|
||||
|
||||
# Copyright 2022 Inference
|
||||
# License: BSD 3-Clause Clear
|
||||
|
||||
|
||||
# Flags.
|
||||
## Hardening flags.
|
||||
LD_SEC="-L/usr/local/lib -lhardened_malloc"
|
||||
|
||||
## 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 ${LD_SEC}"
|
Loading…
x
Reference in New Issue
Block a user