aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix/drivers
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-21 16:09:31 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-21 16:09:31 +0000
commit24b959eee459e76c72195f7a2407c4c03bbd484d (patch)
tree78bc209ce04dca3e6f3c62d743fee01be47476ae /vidix/drivers
parent1e5650e85ed3a8b431d1e8844e16bc19ec0d653c (diff)
use gcc instead ld. Patch by prj@po.cwru.edu (Paul Jarc)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9630 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers')
-rw-r--r--vidix/drivers/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/vidix/drivers/Makefile b/vidix/drivers/Makefile
index 468dd0a002..a390c247d2 100644
--- a/vidix/drivers/Makefile
+++ b/vidix/drivers/Makefile
@@ -57,55 +57,55 @@ $(CYBERBLADE_OBJS): $(CYBERBLADE_SRCS)
$(CC) -c $(CYBERBLADE_CFLAGS) -o $@ $<
$(CYBERBLADE_VID): $(CYBERBLADE_OBJS)
- $(LD) $(CYBERBLADE_LIBS) -shared -soname $(CYBERBLADE_VID) -o $(CYBERBLADE_VID) $(CYBERBLADE_OBJS)
+ $(CC) -shared $(CYBERBLADE_OBJS) $(CYBERBLADE_LIBS) -Wl,-soname,$(CYBERBLADE_VID) -o $(CYBERBLADE_VID)
$(PM3_OBJS): $(PM3_SRCS)
$(CC) -c $(PM3_CFLAGS) -o $@ $<
$(PM3_VID): $(PM3_OBJS)
- $(LD) $(PM3_LIBS) -shared -soname $(PM3_VID) -o $(PM3_VID) $(PM3_OBJS)
+ $(CC) -shared $(PM3_OBJS) $(PM3_LIBS) -Wl,-soname,$(PM3_VID) -o $(PM3_VID)
$(RADEON_OBJS): $(RADEON_SRCS)
$(CC) -c $(RADEON_CFLAGS) -o $@ $<
$(RADEON_VID): $(RADEON_OBJS)
- $(LD) $(RADEON_LIBS) -shared -soname $(RADEON_VID) -o $(RADEON_VID) $(RADEON_OBJS)
+ $(CC) -shared $(RADEON_OBJS) $(RADEON_LIBS) -Wl,-soname,$(RADEON_VID) -o $(RADEON_VID)
$(RAGE128_OBJS): $(RAGE128_SRCS)
$(CC) -c $(RAGE128_CFLAGS) -o $@ $<
$(RAGE128_VID): $(RAGE128_OBJS)
- $(LD) $(RAGE128_LIBS) -shared -soname $(RAGE128_VID) -o $(RAGE128_VID) $(RAGE128_OBJS)
+ $(CC) -shared $(RAGE128_OBJS) $(RAGE128_LIBS) -Wl,-soname,$(RAGE128_VID) -o $(RAGE128_VID)
$(MACH64_OBJS): $(MACH64_SRCS)
$(CC) -c $(MACH64_CFLAGS) -o $@ $<
$(MACH64_VID): $(MACH64_OBJS)
- $(LD) $(MACH64_LIBS) -shared -soname $(MACH64_VID) -o $(MACH64_VID) $(MACH64_OBJS)
+ $(CC) -shared $(MACH64_OBJS) $(MACH64_LIBS) -Wl,-soname,$(MACH64_VID) -o $(MACH64_VID)
$(NVIDIA_OBJS): $(NVIDIA_SRCS)
$(CC) -c $(NVIDIA_CFLAGS) -o $@ $<
$(NVIDIA_VID): $(NVIDIA_OBJS)
- $(LD) $(NVIDIA_LIBS) -shared -soname $(NVIDIA_VID) -o $(NVIDIA_VID) $(NVIDIA_OBJS)
+ $(CC) -shared $(NVIDIA_OBJS) $(NVIDIA_LIBS) -Wl,-soname,$(NVIDIA_VID) -o $(NVIDIA_VID)
$(GENFB_OBJS): $(GENFB_SRCS)
$(CC) -c $(GENFB_CFLAGS) -o $@ $<
$(GENFB_VID): $(GENFB_OBJS)
- $(LD) $(GENFB_LIBS) -shared -soname $(GENFB_VID) -o $(GENFB_VID) $(GENFB_OBJS)
+ $(CC) -shared $(GENFB_OBJS) $(GENFB_LIBS) -Wl,-soname,$(GENFB_VID) -o $(GENFB_VID)
$(MGA_OBJS): $(MGA_SRCS)
$(CC) -c $(MGA_CFLAGS) -o $@ $<
$(MGA_VID): $(MGA_OBJS)
- $(LD) $(MGA_LIBS) -shared -soname $(MGA_VID) -o $(MGA_VID) $(MGA_OBJS)
+ $(CC) -shared $(MGA_OBJS) $(MGA_LIBS) -Wl,-soname,$(MGA_VID) -o $(MGA_VID)
$(MGA_CRTC2_OBJS): $(MGA_CRTC2_SRCS)
$(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
$(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS)
- $(LD) $(MGA_CRTC2_LIBS) -shared -soname $(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID) $(MGA_CRTC2_OBJS)
+ $(CC) -shared $(MGA_CRTC2_OBJS) $(MGA_CRTC2_LIBS) -Wl,-soname,$(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID)
clean:
rm -f *.o *.so *~