forked from bitcoin/bitcoin
- Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Description
Debian utilized a build hardening flag checker, which analyzes the build logs to make sure the appropriate hardening flags are passed to each command. It flags the following two entries.
CFLAGS missing (-fPIE): gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/litecoin-0.21.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o LDFLAGS missing (-fPIE -pie -Wl,-z,relro -Wl,-z,now): gcc gen_context.o -o gen_context Is it intentional that the CFLAGS and LDFLAGS are not passed to this file, or is it an oversight?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels