Date: Thursday, January 26, 2023 @ 22:36:34
Author: andyrtr
Revision: 467411
build only minimal debug info to reduce size (~1.2GB -> ~225MB)
Modified:
libreoffice-fresh/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++++
1 file changed, 4 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-26 19:48:39 UTC (rev 467410)
+++ PKGBUILD 2023-01-26 22:36:34 UTC (rev 467411)
@@ -162,6 +162,10 @@
# strip -s from Makeflags in case you use it to shorten build logs
_MAKEFLAGS=${MAKEFLAGS/-s/}
+ # Build only minimal debug info to reduce size (~1.2GB -> ~225MB)
+ CFLAGS=${CFLAGS/-g /-g1 }
+ CXXFLAGS=${CXXFLAGS/-g /-g1 }
+
# http://site.icu-project.org/download/61#TOC-Migration-Issues
CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'