Skip to content

Commit

Permalink
Make binaries position independent (#87)
Browse files Browse the repository at this point in the history
Should be standard nowadays. It allows the kernel to enable some
security-related features like ASLR.
  • Loading branch information
TheAssassin authored Nov 27, 2024
1 parent 59c34ff commit f06d0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -std=gnu99 -Os -D_FILE_OFFSET_BITS=64 -DGIT_COMMIT=\"${GIT_COMMIT}\" -T data_sections.ld -ffunction-sections -fdata-sections -Wl,--gc-sections -static -Wall -Werror
CFLAGS = -std=gnu99 -Os -D_FILE_OFFSET_BITS=64 -DGIT_COMMIT=\"${GIT_COMMIT}\" -T data_sections.ld -ffunction-sections -fdata-sections -Wl,--gc-sections -static -Wall -Werror -fPIE
LIBS = -lsquashfuse -lsquashfuse_ll -lzstd -lz -lfuse3

all: runtime
Expand Down

0 comments on commit f06d0b6

Please sign in to comment.