diff options
author | Brian Bidulock | 2020-02-19 01:56:39 -0700 |
---|---|---|
committer | Brian Bidulock | 2020-02-19 01:56:39 -0700 |
commit | 77d1885db356555b29cf5203e538581259c8be5b (patch) | |
tree | cf78ff65d24f4b35d2323b0489a2e973f8fa5648 | |
parent | f4a1de6c6fc32d49d5dee68b169564ee9b0ed0b6 (diff) | |
download | aur-77d1885db356555b29cf5203e538581259c8be5b.tar.gz |
fight unused direct deps
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,8 @@ build() { --disable-static \ --libdir=/usr/lib \ --sbindir=/usr/bin + # Fight unused direct deps + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool make V=0 } |