ld-libs: Avoid returning a pointer to undefined stack memory
With clang: error: address of stack memory associated with local variable 'flags' returned [-Werror,-Wreturn-stack-address]
Signed-off-by: Simon McVittie smcv@collabora.com
With clang: error: address of stack memory associated with local variable 'flags' returned [-Werror,-Wreturn-stack-address]
Signed-off-by: Simon McVittie smcv@collabora.com