Moved symlinks of library files into correct package (libgcc-dev)
This commit is contained in:
6
Makefile
6
Makefile
@@ -10,6 +10,7 @@
|
||||
|
||||
export SRCPKG = gcc
|
||||
export DEPENDS = dash,glibc,gmp,libgcc,libstdc++,mpc,mpfr,zlib
|
||||
export BUILDDEPS = gcc,libgcc-dev
|
||||
export ARCH = x86_64
|
||||
export URL = https://gcc.gnu.org/
|
||||
REPO = dev
|
||||
@@ -17,7 +18,7 @@ BRIEF = GNU compiler collection
|
||||
DESC = The GNU Compiler Collection includes front ends for C, C++, \
|
||||
Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these \
|
||||
languages (libstdc++, libgcj,...).
|
||||
SLVER = 4
|
||||
SLVER = 5
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -107,7 +108,8 @@ $(ROOT): $(BUILDDIR)/gcc
|
||||
install -v -d -m 755 $(LIBSTDCROOT)/usr/lib && \
|
||||
mv -v $(ROOT)/usr/lib64/libgcc_s.so* $(LIBGCCROOT)/usr/lib && \
|
||||
mv -v $(ROOT)/usr/lib64/libstdc++* $(LIBSTDCROOT)/usr/lib && \
|
||||
for file in `find $(ROOT)/usr/lib64 -type f -maxdepth 1`; do \
|
||||
for file in `find $(ROOT)/usr/lib64 \( -type f -o -type l \) \
|
||||
-maxdepth 1`; do \
|
||||
path=`dirname $$file|sed "s[$(ROOT)[$(LIBGCCDEVROOT)["`; \
|
||||
mkdir -p $$path; \
|
||||
mv $$file $$path; \
|
||||
|
||||
Reference in New Issue
Block a user