commit 8e4d2221d75391ce06acac60d7aa2e37408ab952
parent dbb5171b35e9a6dbb8e6fdd6405e524f6c9aea02
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 26 Sep 2023 10:23:37 +0200
Remove -fPIC from common compiler options
This option is only enabled when compiling shared object files.
For executables, use the -fPIE option instead.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -111,7 +111,6 @@ CFLAGS_HARDENED =\
CFLAGS_COMMON =\
-std=c89\
-pedantic\
- -fPIC\
-fvisibility=hidden\
-fstrict-aliasing\
$(CFLAGS_HARDENED)\