summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild3
-rw-r--r--libgcc.1.pkg/files2
2 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index a14dd38..91a4360 100755
--- a/build
+++ b/build
@@ -186,6 +186,9 @@ $(installnative_targets):
mkdir -p $(destdir)$(tgtincdir)
mv $(destdir)/usr/include/c++-$(base_version)/$(target_gnu)/* \
$(destdir)$(tgtincdir)
+ # Put libgcc_s.so.* under /lib.
+ mkdir -p $(destdir)/lib/$(OPK_HOST_ARCH)
+ mv $(destdir)$(libdir)/libgcc_s.so.* $(destdir)/lib/$(OPK_HOST_ARCH)
# Remove libitm files.
rm -f $(destdir)$(libdir)/libitm.*
# Remove libquadmath files.
diff --git a/libgcc.1.pkg/files b/libgcc.1.pkg/files
index 55dfc2f..fc571ac 100644
--- a/libgcc.1.pkg/files
+++ b/libgcc.1.pkg/files
@@ -1 +1 @@
-/usr/lib/*/libgcc_s.so.1
+/lib/*/libgcc_s.so.1