add comment about ignored LDFLAGS

This commit is contained in:
Miroslav Lichvar 2023-05-11 14:14:59 +02:00
parent 8520dd6f83
commit b9bc8e525d

View File

@ -114,6 +114,8 @@ iconv -f iso8859-1 -t utf8 NEWS > NEWS_ && mv NEWS_ NEWS
%build
export CCFLAGS="%{optflags}"
# scons ignores LDFLAGS. LINKFLAGS partially work (some flags like
# -spec=... are filtered)
export LINKFLAGS="%{__global_ldflags}"
# breaks with %%{_smp_mflags}