pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Try fix build problem
Module Name: pkgsrc-wip
Committed By: Dmytro Kazankov <dmytro.kazankov%gmail.com@localhost>
Pushed By: dkazankov
Date: Thu Feb 6 19:58:49 2025 +0200
Changeset: f06bea94d868724506ffb771fbd5c22639fa7ceb
Modified Files:
gcc14-gnat/Makefile
Log Message:
Try fix build problem
* Fixed LDFLAGS_FOR_TARGET
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f06bea94d868724506ffb771fbd5c22639fa7ceb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gcc14-gnat/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diffs:
diff --git a/gcc14-gnat/Makefile b/gcc14-gnat/Makefile
index 065ddeca0d..100bb5a23e 100644
--- a/gcc14-gnat/Makefile
+++ b/gcc14-gnat/Makefile
@@ -67,15 +67,15 @@ STAGE1_LDFLAGS= ${LDFLAGS} -static
LINKER_RPATH_FLAG:= ${LINKER_RPATH_FLAG:S/-rpath/& /}
## The Library rpath to use in end programs.
-LDFLAGS_FOR_TARGET= # empty
+LDFLAGS_FOR_TARGET= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
# The "-static-libstdc++ -static-libgcc" flags are normally added to the
# boot-ldflags by configure but because we are supply the boot-ldflags
# we mash supply them.
-BOOT_LDFLAGS= ${LDFLAGS_FOR_TARGET}
-BOOT_LDFLAGS+= -static-libstdc++ -static-libgcc
+BOOT_LDFLAGS= -static-libstdc++ -static-libgcc
BOOT_LDFLAGS+= ${COMPILER_RPATH_FLAG}${GNAT_PREFIX}/lib
BOOT_LDFLAGS+= ${COMPILER_RPATH_FLAG}${GNAT_PREFIX}/lib/gcc/${MACHINE_GNU_PLATFORM}/${GCC_DIST_VERSION}/adalib
+BOOT_LDFLAGS+= ${LDFLAGS_FOR_TARGET}
# Needed on Darwin when LDFLAGS point to a SDK
.if !empty(OSX_SDK_PATH)
BOOT_LDFLAGS+= ${LDFLAGS:M-Wl,-syslibroot*}
Home |
Main Index |
Thread Index |
Old Index