diff options
author | Brian Bidulock | 2022-01-28 22:12:40 -0700 |
---|---|---|
committer | Brian Bidulock | 2022-01-28 22:12:40 -0700 |
commit | 446d35248ab0ebc2d35ebbcb1c7d0a6859cad04e (patch) | |
tree | f001648ae4fc1fdbf0ebd1cc4e70bd18eba58c18 | |
parent | 366349119a0f559994ca9e4d8cf3fd60a0bcd58d (diff) | |
download | aur-446d35248ab0ebc2d35ebbcb1c7d0a6859cad04e.tar.gz |
better LDFLAGS
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ build() { # gtk2 is using deprecated glib2 declarations ./configure CFLAGS="-Wno-deprecated-declarations $CFLAGS" # 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 + sed -i -e "s| -shared | $LDFLAGS\0 |g" -e "s| if test \"\$export_dynamic\" = yes && test -n \"\$export_dynamic_flag_spec\"; then| func_append compile_command \" $LDFLAGS\"\n func_append finalize_command \" $LDFLAGS\"\n\0|" libtool make CFLAGS="-Wno-deprecated-declarations $CFLAGS" } |