pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gcc14-gnat-libs: buildlink3.mk fixes
Module Name: pkgsrc-wip
Committed By: Dmytro Kazankov <dmytro.kazankov%gmail.com@localhost>
Pushed By: dkazankov
Date: Wed Nov 27 23:31:03 2024 +0200
Changeset: c574ba804ecb1c7c8d13475ddfb65e9744512950
Modified Files:
gcc14-gnat-libs/buildlink3.mk
Log Message:
gcc14-gnat-libs: buildlink3.mk fixes
* Typos fixed
* LDFLAGS added for linker
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c574ba804ecb1c7c8d13475ddfb65e9744512950
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gcc14-gnat-libs/buildlink3.mk | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diffs:
diff --git a/gcc14-gnat-libs/buildlink3.mk b/gcc14-gnat-libs/buildlink3.mk
index 49eb702fca..32c7a94fd7 100644
--- a/gcc14-gnat-libs/buildlink3.mk
+++ b/gcc14-gnat-libs/buildlink3.mk
@@ -15,20 +15,23 @@ BUILDLINK_DEPMETHOD.gcc14-gnat-libs?= full
GCC_TARGET_MACHINE?= ${MACHINE_GNU_PLATFORM}
-TARGET_LIBDIR.gcc13-gnat-libs= ${PREFIX}/gcc14-gnat/${GCC_TARGET_MACHINE}/lib
+TARGET_LIBDIR.gcc14-gnat-libs= ${PREFIX}/gcc14-gnat/${GCC_TARGET_MACHINE}/lib
-BUILDLINK_PASSTHRU_DIRS+= ${TARGET_LIBDIR.gcc13-gnat-libs}
+BUILDLINK_PASSTHRU_DIRS+= ${TARGET_LIBDIR.gcc14-gnat-libs}
BUILDLINK_FILES.gcc14-gnat-libs= #empty
BUILDLINK_AUTO_VARS.gcc14-gnat-libs= no
-BUILDLINK_RPATHDIRS.gcc14-gnat-libs= ${TARGET_LIBDIR.gcc13-gnat-libs}
+BUILDLINK_RPATHDIRS.gcc14-gnat-libs= ${TARGET_LIBDIR.gcc14-gnat-libs}
.if defined(LD_RUN_PATH)
-LD_RUN_PATH:= ${TARGET_LIBDIR.gcc13-gnat-libs}:${LD_RUN_PATH}
+LD_RUN_PATH:= ${TARGET_LIBDIR.gcc14-gnat-libs}:${LD_RUN_PATH}
.else
-LD_RUN_PATH:= ${TARGET_LIBDIR.gcc13-gnat-libs}
+LD_RUN_PATH:= ${TARGET_LIBDIR.gcc14-gnat-libs}
.endif
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${TARGET_LIBDIR.gcc14-gnat-libs}
+LDFLAGS+= -Wl,-z,relro,-z,now
+
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index