From cccfcf2e54cb927c0282f076a40b2d327168980e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 31 Jul 2002 11:42:56 +0000 Subject: use -fPIC on every arch --- ldetect.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ldetect.spec b/ldetect.spec index 5f969f2..9edf583 100644 --- a/ldetect.spec +++ b/ldetect.spec @@ -31,9 +31,8 @@ see %{name} %build # Add PIC code in static library because it could be linked into a DSO -%ifarch ia64 x86_64 PICFLAGS="-DPIC -fPIC" -%endif + %make CFLAGS="-Wall -Wstrict-prototypes $PICFLAGS" %install -- cgit v1.2.1