summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/build b/build
index b229d27..5a19fe6 100755
--- a/build
+++ b/build
@@ -190,16 +190,21 @@ install-native:
$(destdir)$(gcc_gxx_backward_include_dir)
mv $(destdir)$(def_gcc_gcc_include_dir)/* \
$(destdir)$(gcc_gcc_include_dir)
+ rmdir $(destdir)$(def_gcc_gcc_include_dir)
mv $(destdir)$(def_gcc_fixed_include_dir)/* \
$(destdir)$(gcc_fixed_include_dir)
+ rmdir $(destdir)$(def_gcc_fixed_include_dir)
# def_gcc_gxx_tool_include_dir and def_gcc_gxx_backward_include_dir are
# subdirectories of def_gcc_gxx_include_dir, so move them first.
mv $(destdir)$(def_gcc_gxx_tool_include_dir)/* \
$(destdir)$(gcc_gxx_tool_include_dir)
+ rmdir $(destdir)$(def_gcc_gxx_tool_include_dir)
mv $(destdir)$(def_gcc_gxx_backward_include_dir)/* \
$(destdir)$(gcc_gxx_backward_include_dir)
+ rmdir $(destdir)$(def_gcc_gxx_backward_include_dir)
mv $(destdir)$(def_gcc_gxx_include_dir)/* \
$(destdir)$(gcc_gxx_include_dir)
+ rmdir $(destdir)$(def_gcc_gxx_include_dir)
# Target-arch libraries:
mkdir -p $(destdir)$(libdir)
mv $(destdir)$(libdir)/$(libsuffix)/* $(destdir)$(libdir)