diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-27 09:47:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-27 09:47:11 +0000 |
commit | 93709c1e927c78fce18bdb81d22e8e17051e6f6d (patch) | |
tree | 59a0328544b5e6e99c5d0c6514f8e7b3679360dc /Makefile | |
parent | 854fece86dce2de112b2fee8c4d3d1078d94e0ef (diff) | |
download | ldetect-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |