From baae26370173e8acba2bd453be2b7e73eb7291ab Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Thu, 21 Feb 2019 10:02:24 +0100 Subject: [PATCH] Add --no-as-needed to LD flags --- dcraw.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/dcraw.spec b/dcraw.spec index 93a9156..1eb2c6f 100644 --- a/dcraw.spec +++ b/dcraw.spec @@ -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