summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 13:53:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 13:53:19 +0000
commitb968a550a6d511d112cd2d63f4d023581b53a376 (patch)
treef884f1f5755089e27e7d0c97136214860baa265d /Makefile
parent7949105e03b7f12d8d2b7000f94cf14619220b72 (diff)
downloadldetect-b968a550a6d511d112cd2d63f4d023581b53a376.tar
ldetect-b968a550a6d511d112cd2d63f4d023581b53a376.tar.gz
ldetect-b968a550a6d511d112cd2d63f4d023581b53a376.tar.bz2
ldetect-b968a550a6d511d112cd2d63f4d023581b53a376.tar.xz
ldetect-b968a550a6d511d112cd2d63f4d023581b53a376.zip
ld doesn't like -g, so use gcc back again
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc2861b..f921102 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ build: $(binaries) $(libraries)
lspcidrake: lspcidrake.c libldetect.so
$(lib_major).$(LIB_MINOR): $(lib_objs)
- ld -O1 -z relro -shared -soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz -lc
+ $(CC) -shared -Wl,-O1 -z relro,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)