diff options
Diffstat (limited to 'misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk')
-rw-r--r-- | misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk index cc55e5b43..60ff6c00a 100644 --- a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk +++ b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk @@ -139,8 +139,8 @@ $(GCC_BUILD_DIR)/.installed: $(GCC_BUILD_DIR)/.compiled if [ ! -e "$(STAGING_DIR)/lib" ] ; then \ mkdir "$(STAGING_DIR)/lib" ; \ fi ; \ - mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \ - rmdir "$(STAGING_DIR)/lib64" ; \ + cp -a "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/." ; \ + rm -rf "$(STAGING_DIR)/lib64" ; \ fi # Strip the host binaries ifeq ($(GCC_STRIP_HOST_BINARIES),true) |