summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:11 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:47:11 +0000
commit93709c1e927c78fce18bdb81d22e8e17051e6f6d (patch)
tree59a0328544b5e6e99c5d0c6514f8e7b3679360dc /Makefile
parent854fece86dce2de112b2fee8c4d3d1078d94e0ef (diff)
downloadldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.gz
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.bz2
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.tar.xz
ldetect-93709c1e927c78fce18bdb81d22e8e17051e6f6d.zip
try harder to reduce number of relocations (most remaining ones are due to
arrays of pointers)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 20973e4..ce5358e 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ build: $(binaries) $(libraries)
lspcidrake: lspcidrake.c libldetect.so
$(lib_major).$(LIB_MINOR): $(lib_objs)
- $(CC) -shared -Wl,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
+ ld -O1 -z relro -shared -soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz -lc
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)