FreeBSD Bugzilla – Attachment 239623 Details for
Bug 268981
mk/Features/pie.mk: add cmake support (multimedia/cmrtlib: not WITH_PIE safe)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
use CMake support
pie-cmake.diff (text/plain), 509 bytes, created by
Jan Beich
on 2023-01-21 16:24:34 UTC
(
hide
)
Description:
use CMake support
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2023-01-21 16:24:34 UTC
Size:
509 bytes
patch
obsolete
>diff --git a/Mk/Features/pie.mk b/Mk/Features/pie.mk >index 2f7b902f2660..e25225d3175d 100644 >--- a/Mk/Features/pie.mk >+++ b/Mk/Features/pie.mk >@@ -5,11 +5,15 @@ _PIE_MK_INCLUDED= yes > PIE_Include_MAINTAINER= portmgr@FreeBSD.org > > . if !defined(PIE_UNSAFE) >+. if defined(_INCLUDE_USES_CMAKE_MK) >+CMAKE_ON+= CMAKE_POSITION_INDEPENDENT_CODE >+. else > PIE_CFLAGS?= -fPIE -fPIC > CFLAGS+= ${PIE_CFLAGS} > CXXFLAGS+= ${PIE_CFLAGS} > LDFLAGS+= -pie > STATIC_PIE_ARGS+= -static-pie >+. endif > . endif > .endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268981
:
239623
|
239624