Anonymous comment on 2010-04-08 23:29

Anonymous comment on 2010-04-08 23:19

Hi. I think the problem is only with LDFLAGS and it is -Wl,--as-need.
Please don't clean CFLAGS and try this to filter LDFLAGS:
LDFLAGS=$(for i in $LDFLAGS; do echo "$i" | grep -v -- -Wl,--as-need ; done )