git: 70070f043ced - main - Features/pie: allow static-pie:
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Jan 2023 10:51:20 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=70070f043ced2276285735eb3092d06f41ee874e
commit 70070f043ced2276285735eb3092d06f41ee874e
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-01-19 10:36:21 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-01-19 10:51:05 +0000
Features/pie: allow static-pie:
Add a variable to ease passing arguments necessary to build static pie files
---
Mk/Features/pie.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Mk/Features/pie.mk b/Mk/Features/pie.mk
index 73bbe9b24c19..2f7b902f2660 100644
--- a/Mk/Features/pie.mk
+++ b/Mk/Features/pie.mk
@@ -9,6 +9,7 @@ PIE_CFLAGS?= -fPIE -fPIC
CFLAGS+= ${PIE_CFLAGS}
CXXFLAGS+= ${PIE_CFLAGS}
LDFLAGS+= -pie
+STATIC_PIE_ARGS+= -static-pie
. endif
.endif