Add --no-as-needed to LD flags

This commit is contained in:
Josef Ridky 2019-02-21 10:02:24 +01:00
parent c31b075d79
commit baae263701

View File

@ -25,6 +25,7 @@ downloaded from digital cameras.
%build
gcc %optflags $RPM_LD_FLAGS \
-Wl,--no-as-needed \
-lm -ljpeg -llcms2 -ljasper \
-DLOCALEDIR="\"%{_datadir}/locale\"" \
-o dcraw dcraw.c