logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/
commit: 4b2350f90f9a7922de04cdef013c52e0757b1c1f
parent 970e3bae92575389e8abbf47a90fd39913983600
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 19 Jan 2026 18:15:50 +0100

profiles/base: toss -fPIC out from COMMON_FLAGS, preferred for libs only

See <https://wiki.gentoo.org/wiki/Project:Hardened/Position_Independent_Code_internals> for details on the reasoning.

Diffstat:

Mprofiles/base/make.defaults2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults @@ -3,7 +3,7 @@ USE=" cacert cjk dane idn mandoc jumbo-build smp threads urandom iproute2 caps pic metric syslog " -COMMON_FLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -fPIC -frecord-gcc-switches" +COMMON_FLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -frecord-gcc-switches" CLANG_EXTRA_FLAGS="-Wno-error=incompatible-pointer-types-discards-qualifiers" CFLAGS="${COMMON_FLAGS} ${CLANG_EXTRA_FLAGS}" OBJCCFLAGS="${COMMON_FLAGS} ${CLANG_EXTRA_FLAGS}"