Group :: System/Kernel and hardware
RPM: iptables
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: iptables-1.2.11-alt-ccld.patch
Download
Download
--- iptables-1.2.11/libipq/Makefile.ccld 2004-08-03 13:10:07 +0400
+++ iptables-1.2.11/libipq/Makefile 2004-08-03 13:10:07 +0400
@@ -29,7 +29,7 @@
libipq/libipq.so: libipq/libipq_sh.o
libipq/libipq.so:
- $(LD) -shared -soname libipq.so.0.0 -o $@.0.0 $^
+ $(CC) -shared -Wl,-soname,libipq.so.0.0 -o $@.0.0 $^
ln -s libipq.so.0.0 $@
endif
--- iptables-1.2.11/libiptc/Makefile.ccld 2004-08-03 13:10:07 +0400
+++ iptables-1.2.11/libiptc/Makefile 2004-08-03 13:10:07 +0400
@@ -23,7 +23,7 @@
endif
libiptc/libiptc.so:
- $(LD) -shared -soname libiptc.so.0.0 -o $@.0.0 $^
+ $(CC) -shared -Wl,-soname,libiptc.so.0.0 -o $@.0.0 $^
ln -s libiptc.so.0.0 $@
libiptc/libip4tc.d libiptc/libip6tc.d: %.d: %.c
--- iptables-1.2.11/Rules.make.ccld 2004-06-15 02:02:15 +0400
+++ iptables-1.2.11/Rules.make 2004-08-03 13:11:09 +0400
@@ -31,7 +31,7 @@
sed -e 's@^.*\.o:@$*.d $*_sh.o:@' > $@
$(SHARED_LIBS): %.so : %_sh.o
- $(LD) -shared $(EXT_LDFLAGS) -o $@ $<
+ $(CC) -shared $(EXT_LDFLAGS) -o $@ $<
%_sh.o : %.c
$(CC) $(SH_CFLAGS) -o $@ -c $<
--- iptables-1.2.11/Makefile.ccld 2004-08-03 13:10:07 +0400
+++ iptables-1.2.11/Makefile 2004-08-03 13:14:52 +0400
@@ -60,7 +60,7 @@
# The kernel is 64-bit, even though userspace is 32.
CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
else
- EXT_LDFLAGS=-m elf64_sparc
+ EXT_LDFLAGS=-Wl,-m elf64_sparc
endif
endif
@@ -124,7 +124,7 @@
libiptables.so: iptables_sh.o
libiptables.so: libiptc/libiptc.so
- $(LD) -shared -soname libiptables.so.0.0 -o $@.0.0 $^ \
+ $(CC) -shared -Wl,-soname,libiptables.so.0.0 -o $@.0.0 $^ \
libiptc/libiptc.so -ldl
ln -s libiptables.so.0.0 $@
@@ -132,7 +132,7 @@
libip6tables.so: ip6tables_sh.o
libip6tables.so: libiptc/libiptc.so
- $(LD) -shared -soname libip6tables.so.0.0 -o $@.0.0 $^ \
+ $(CC) -shared -Wl,-soname,libip6tables.so.0.0 -o $@.0.0 $^ \
libiptc/libiptc.so -ldl
ln -s libip6tables.so.0.0 $@