This commit is contained in:
parent
f4dd905447
commit
a5b76d24cf
@ -1,52 +0,0 @@
|
|||||||
--- binutils-2.24/libiberty/Makefile.in 2013-11-04 10:33:40.000000000 -0500
|
|
||||||
+++ binutils-2.24-fixes/libiberty/Makefile.in 2014-10-17 16:22:31.413655000 -0400
|
|
||||||
@@ -66,6 +66,7 @@
|
|
||||||
MAKEOVERRIDES =
|
|
||||||
|
|
||||||
TARGETLIB = ./libiberty.a
|
|
||||||
+TARGETLIBPIC = ./libiberty_pic.a
|
|
||||||
TESTLIB = ./testlib.a
|
|
||||||
|
|
||||||
LIBOBJS = @LIBOBJS@
|
|
||||||
@@ -355,27 +356,27 @@
|
|
||||||
# since it will be passed the multilib flags.
|
|
||||||
MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
|
|
||||||
install_to_libdir: all
|
|
||||||
- if test -n "${target_header_dir}"; then \
|
|
||||||
- ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
|
|
||||||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \
|
|
||||||
- ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \
|
|
||||||
- mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \
|
|
||||||
- case "${target_header_dir}" in \
|
|
||||||
- /*) thd=${target_header_dir};; \
|
|
||||||
- *) thd=${includedir}/${target_header_dir};; \
|
|
||||||
- esac; \
|
|
||||||
- ${mkinstalldirs} $(DESTDIR)$${thd}; \
|
|
||||||
- for h in ${INSTALLED_HEADERS}; do \
|
|
||||||
- ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
|
|
||||||
- done; \
|
|
||||||
- fi
|
|
||||||
+ ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
|
|
||||||
+ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \
|
|
||||||
+ $(INSTALL_DATA) pic/$(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIBPIC)n; \
|
|
||||||
+ ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \
|
|
||||||
+ ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIBPIC)n ;$(RANLIB) $(TARGETLIBPIC)n ); \
|
|
||||||
+ mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \
|
|
||||||
+ mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIBPIC)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIBPIC); \
|
|
||||||
+ ${mkinstalldirs} $(DESTDIR)$${includedir}; \
|
|
||||||
+ for h in ${INSTALLED_HEADERS}; do \
|
|
||||||
+ ${INSTALL_DATA} $$h $(DESTDIR)$${includedir}; \
|
|
||||||
+ done;
|
|
||||||
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
|
||||||
|
|
||||||
install_to_tooldir: all
|
|
||||||
${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
|
|
||||||
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
|
|
||||||
+ $(INSTALL_DATA) pic/$(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIBPIC)n
|
|
||||||
( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
|
|
||||||
+ ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIBPIC)n; $(RANLIB) $(TARGETLIBPIC)n )
|
|
||||||
mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
|
|
||||||
+ mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIBPIC)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIBPIC)
|
|
||||||
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
|
||||||
|
|
||||||
# required-list was used when building a shared bfd/opcodes/libiberty
|
|
@ -39,16 +39,11 @@ class Binutils(AutotoolsPackage):
|
|||||||
version('2.23.2', '4f8fa651e35ef262edc01d60fb45702e')
|
version('2.23.2', '4f8fa651e35ef262edc01d60fb45702e')
|
||||||
version('2.20.1', '2b9dc8f2b7dbd5ec5992c6e29de0b764')
|
version('2.20.1', '2b9dc8f2b7dbd5ec5992c6e29de0b764')
|
||||||
|
|
||||||
# Add a patch that creates binutils libiberty_pic.a which is preferred by
|
|
||||||
# OpenSpeedShop and cbtf-krell
|
|
||||||
variant('krellpatch', default=False,
|
|
||||||
description="build with openspeedshop based patch.")
|
|
||||||
variant('plugins', default=False,
|
variant('plugins', default=False,
|
||||||
description="enable plugins, needed for gold linker")
|
description="enable plugins, needed for gold linker")
|
||||||
variant('gold', default=True, description="build the gold linker")
|
variant('gold', default=True, description="build the gold linker")
|
||||||
variant('libiberty', default=False, description='Also install libiberty.')
|
variant('libiberty', default=False, description='Also install libiberty.')
|
||||||
|
|
||||||
patch('binutilskrell-2.24.patch', when='@2.24+krellpatch')
|
|
||||||
patch('cr16.patch')
|
patch('cr16.patch')
|
||||||
patch('update_symbol-2.26.patch', when='@2.26')
|
patch('update_symbol-2.26.patch', when='@2.26')
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ class CbtfKrell(CMakePackage):
|
|||||||
depends_on("cmake@3.0.2:", type='build')
|
depends_on("cmake@3.0.2:", type='build')
|
||||||
|
|
||||||
# For binutils service
|
# For binutils service
|
||||||
depends_on("binutils@2.24+krellpatch")
|
depends_on("binutils")
|
||||||
|
|
||||||
# collectionTool
|
# collectionTool
|
||||||
depends_on("boost@1.50.0:1.59.0")
|
depends_on("boost@1.50.0:1.59.0")
|
||||||
|
@ -111,7 +111,7 @@ class Openspeedshop(CMakePackage):
|
|||||||
depends_on("libtool", type='build')
|
depends_on("libtool", type='build')
|
||||||
depends_on("bison", type='build')
|
depends_on("bison", type='build')
|
||||||
depends_on("flex", type='build')
|
depends_on("flex", type='build')
|
||||||
depends_on("binutils@2.24+krellpatch", type='build')
|
depends_on("binutils", type='build')
|
||||||
depends_on("elf", type="link")
|
depends_on("elf", type="link")
|
||||||
depends_on("libdwarf")
|
depends_on("libdwarf")
|
||||||
depends_on("sqlite")
|
depends_on("sqlite")
|
||||||
|
Loading…
Reference in New Issue
Block a user