1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-11 05:46:58 +03:00

Compile mold object files as PIE

This commit is contained in:
Rui Ueyama 2021-07-26 16:20:15 +09:00
parent fbdb8367ef
commit 0f82b352c7

View File

@ -3,7 +3,7 @@ CXX = clang++
GIT_HASH ?= $(shell [ -d .git ] && git rev-parse HEAD)
CPPFLAGS = -g -pthread -std=c++20 \
CPPFLAGS = -g -pthread -std=c++20 -fPIE \
-DMOLD_VERSION=\"0.9.3\" \
-DGIT_HASH=\"$(GIT_HASH)\" \
$(EXTRA_CPPFLAGS)