From 62fd161baca6a45e9441dc6d298fe19938fab15c Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 27 Jul 2018 13:36:08 -0400 Subject: cross-gcc: Add comments Signed-off-by: David P --- cross/cross-gcc/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cross') 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 '{}' \; -- cgit v1.2.2