mirror of https://git.wownero.com/dsc/mxe.git
Revert "gcc: cleanup lib installation"
This reverts commit c96a007c6a
.
This commit is not applicable to gcc 4.9.
This commit is contained in:
parent
16ce867a16
commit
12ef7af27f
|
@ -55,11 +55,8 @@ define $(PKG)_POST_BUILD
|
|||
rm -f $(addprefix $(PREFIX)/$(TARGET)/bin/, c++ g++ gcc gfortran)
|
||||
-mv '$(PREFIX)/lib/gcc/$(TARGET)/lib/'* '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'
|
||||
-mv '$(PREFIX)/lib/gcc/$(TARGET)/'*.dll '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'
|
||||
-mv '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll '$(PREFIX)/$(TARGET)/bin/'
|
||||
-cp '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll '$(PREFIX)/$(TARGET)/bin/'
|
||||
-cp '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll.a '$(PREFIX)/$(TARGET)/lib/'
|
||||
|
||||
# remove incorrectly installed libcc1
|
||||
rm -f '$(PREFIX)/lib/'libcc1*
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD_mingw-w64
|
||||
|
@ -97,9 +94,6 @@ define $(PKG)_BUILD_mingw-w64
|
|||
# build rest of gcc
|
||||
cd '$(1).build'
|
||||
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||||
|
||||
# cc1libdir isn't passed to subdirs so install correctly and rm later
|
||||
$(MAKE) -C '$(1).build/libcc1' -j 1 install cc1libdir='$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)'
|
||||
$(MAKE) -C '$(1).build' -j 1 install
|
||||
|
||||
$($(PKG)_POST_BUILD)
|
||||
|
|
Loading…
Reference in New Issue