summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 14:38:59 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 14:38:59 +0000
commit448b779ea2a5f8db329ef2c16f4ba5a7dea173b8 (patch)
tree684ec8b68805213d6b6d5087a967ff5776e78b4a
parent8ec6f32f282ed3613f9382dfd00f781c8e7b4840 (diff)
downloadldetect-448b779ea2a5f8db329ef2c16f4ba5a7dea173b8.tar
ldetect-448b779ea2a5f8db329ef2c16f4ba5a7dea173b8.tar.gz
ldetect-448b779ea2a5f8db329ef2c16f4ba5a7dea173b8.tar.bz2
ldetect-448b779ea2a5f8db329ef2c16f4ba5a7dea173b8.tar.xz
ldetect-448b779ea2a5f8db329ef2c16f4ba5a7dea173b8.zip
fix ld arguments
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7050fc7..0753804 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,-O1 -z relro,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
+ $(CC) -shared -z relro -Wl,-O1,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)