Add --no-as-needed to LD flags
This commit is contained in:
parent
c31b075d79
commit
baae263701
@ -25,6 +25,7 @@ downloaded from digital cameras.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
gcc %optflags $RPM_LD_FLAGS \
|
gcc %optflags $RPM_LD_FLAGS \
|
||||||
|
-Wl,--no-as-needed \
|
||||||
-lm -ljpeg -llcms2 -ljasper \
|
-lm -ljpeg -llcms2 -ljasper \
|
||||||
-DLOCALEDIR="\"%{_datadir}/locale\"" \
|
-DLOCALEDIR="\"%{_datadir}/locale\"" \
|
||||||
-o dcraw dcraw.c
|
-o dcraw dcraw.c
|
||||||
|
Loading…
Reference in New Issue
Block a user