summaryrefslogtreecommitdiffstats
path: root/ldetect.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-31 11:42:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-31 11:42:56 +0000
commitcccfcf2e54cb927c0282f076a40b2d327168980e (patch)
tree9052846fe1fc8c1ff5602cd49bb380f7c00fc771 /ldetect.spec
parent97fb4f576c1731a2d2e73240d77a928039451deb (diff)
downloadldetect-cccfcf2e54cb927c0282f076a40b2d327168980e.tar
ldetect-cccfcf2e54cb927c0282f076a40b2d327168980e.tar.gz
ldetect-cccfcf2e54cb927c0282f076a40b2d327168980e.tar.bz2
ldetect-cccfcf2e54cb927c0282f076a40b2d327168980e.tar.xz
ldetect-cccfcf2e54cb927c0282f076a40b2d327168980e.zip
use -fPIC on every arch
Diffstat (limited to 'ldetect.spec')
-rw-r--r--ldetect.spec3
1 files changed, 1 insertions, 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