diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -52,6 +52,8 @@ build: configure >src/$${f}; \ done oh-autobuild -B gcc-build -T bootstrap-lean -- -j $${JOBS:-1} \ + libsubdir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION) \ + libexecsubdir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION) \ toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR= touch $@ @@ -66,12 +68,10 @@ install: build # See also: <http://gcc.gnu.org/ml/gcc/2013-04/msg00171.html>. # TODO: Replace $(OPK_HOST_ARCH) with the target arch. oh-autoinstall -B gcc-build -T install -- \ + libsubdir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION) \ + libexecsubdir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION) \ toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR= rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libiberty.a - mv dest/usr/lib/$(OPK_HOST_ARCH)/gcc/*/*/ \ - dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ - rmdir dest/usr/lib/$(OPK_HOST_ARCH)/gcc/*/ - rmdir dest/usr/lib/$(OPK_HOST_ARCH)/gcc/ # POSIX.1-2008: # If the pathname does not begin with a '/' it shall be treated as relative to |