diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-27 13:53:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-27 13:53:19 +0000 |
commit | b968a550a6d511d112cd2d63f4d023581b53a376 (patch) | |
tree | f884f1f5755089e27e7d0c97136214860baa265d /Makefile | |
parent | 7949105e03b7f12d8d2b7000f94cf14619220b72 (diff) | |
download | ldetect-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-- | 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) - 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) |