pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gcc10-libjit: reduce diffs to gcc10



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Thu Apr 6 14:01:43 2023 +0200
Changeset:	43dbcf85ab07e95fb3cdc1189cb47a4263eb052c

Modified Files:
	gcc10-libjit/Makefile
	gcc10-libjit/options.mk

Log Message:
gcc10-libjit: reduce diffs to gcc10

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=43dbcf85ab07e95fb3cdc1189cb47a4263eb052c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gcc10-libjit/Makefile   | 2 --
 gcc10-libjit/options.mk | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diffs:
diff --git a/gcc10-libjit/Makefile b/gcc10-libjit/Makefile
index 18e836bba5..e53c3ce162 100644
--- a/gcc10-libjit/Makefile
+++ b/gcc10-libjit/Makefile
@@ -32,8 +32,6 @@ USE_TOOLS.NetBSD+=	gsed
 
 # /usr/bin/ld: ./../intl/libintl.a(bindtextdom.o): relocation R_X86_64_32 against symbol `libintl_nl_default_dirname' can not be used when making a shared object; recompile with -fPIC
 CFLAGS+=	-fPIC
-# ld: /usr/lib/libstdc++.a(eh_globals.o): relocation R_X86_64_TPOFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared object; recompile with -fPIC
-CXXFLAGS+=	-fPIC
 
 GNU_CONFIGURE=		yes
 GNU_CONFIGURE_STRICT=	no
diff --git a/gcc10-libjit/options.mk b/gcc10-libjit/options.mk
index 9b33db4846..8189dd14b5 100644
--- a/gcc10-libjit/options.mk
+++ b/gcc10-libjit/options.mk
@@ -56,7 +56,7 @@ PKG_SUGGESTED_OPTIONS+=	gcc-multilib
 
 .  for _libdir_ in ${_OPSYS_LIB_DIRS}
 .    if exists(${_libdir_})
-BASE_LIBGCC!=			find ${_libdir_} -name libgcc_s.so
+BASE_LIBGCC!=			find ${_libdir_} -name libgcc_s.so 2> /dev/null
 BASE_LIBGCC_MATCH_STRING!=	${ECHO} ${BASE_LIBGCC} ${GCC10_DIST_VERSION} | \
 				${AWK} -f ../../mk/scripts/larger_symbol_version.awk
 .      if ${BASE_LIBGCC_MATCH_STRING:Mnewer}


Home | Main Index | Thread Index | Old Index