summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-07-27 13:36:08 -0400
committerDavid P <megver83@parabola.nu>2018-07-27 13:36:08 -0400
commit62fd161baca6a45e9441dc6d298fe19938fab15c (patch)
tree867d79ca2cabf6e4626ed523c4f0623a33759910 /cross
parentbe8433f03e94b0c6f7e1f204180b0826d5b25a51 (diff)
cross-gcc: Add comments
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'cross')
-rw-r--r--cross/cross-gcc/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/cross/cross-gcc/PKGBUILD b/cross/cross-gcc/PKGBUILD
index 4df7e6834..ddbdc95e5 100644
--- a/cross/cross-gcc/PKGBUILD
+++ b/cross/cross-gcc/PKGBUILD
@@ -190,6 +190,8 @@ package() {
cd build-gcc
make DESTDIR="$pkgdir" install-gcc
+ # Use the following instead if building with `make' on build()
+ #make DESTDIR="$pkgdir" install
# strip target binaries
find "$pkgdir"/usr/lib/gcc/$_target/ -type f -and \( -name \*.a -or -name \*.o \) -exec $_target-objcopy -R .comment -R .note -R .debug_info -R .debug_aranges -R .debug_pubnames -R .debug_pubtypes -R .debug_abbrev -R .debug_line -R .debug_str -R .debug_ranges -R .debug_loc '{}' \;