aboutsummaryrefslogtreecommitdiff
path: root/comms/libfec
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2019-01-23 03:10:52 +0000
committerDiane Bruce <db@FreeBSD.org>2019-01-23 03:10:52 +0000
commit0d684d9356065bb3640201defe7f9b636c500d93 (patch)
treec9126ec36ea936329cce450c30f373cc720e14bf /comms/libfec
parent00eea728a5243b2aebae96836c9568620ed48560 (diff)
downloadports-0d684d9356065bb3640201defe7f9b636c500d93.tar.gz
ports-0d684d9356065bb3640201defe7f9b636c500d93.zip
Bug reported only with ld.lld as system ld on i386 solved using
suggested -Wl,-z,notext PR: ports/234871 Reported by: @emaste
Notes
Notes: svn path=/head/; revision=491018
Diffstat (limited to 'comms/libfec')
-rw-r--r--comms/libfec/files/patch-makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/comms/libfec/files/patch-makefile.in b/comms/libfec/files/patch-makefile.in
index 4eb4c27c2cef..be167e24deb0 100644
--- a/comms/libfec/files/patch-makefile.in
+++ b/comms/libfec/files/patch-makefile.in
@@ -9,7 +9,7 @@
viterbi39.o viterbi39_port.o \
viterbi615.o viterbi615_port.o encode_rs_char.o encode_rs_int.o encode_rs_8.o \
decode_rs_char.o decode_rs_int.o decode_rs_8.o \
-@@ -43,52 +43,50 @@ test: vtest27 vtest29 vtest39 vtest615 r
+@@ -43,52 +43,50 @@ test: vtest27 vtest29 vtest39 vtest615 rstest dtest su
install: all
mkdir -p @libdir@
install -m 644 -p $(SHARED_LIB) libfec.a @libdir@
@@ -80,7 +80,7 @@
# for Linux et al
libfec.so: $(LIBS)
- gcc -shared -Xlinker -soname=$@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc
-+ ${CC} -shared -Xlinker -soname=$@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -lc
++ ${CC} -shared -Xlinker -soname=$@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive -Wl,-z,notext -lc
dotprod.o: dotprod.c fec.h
@@ -169,7 +169,7 @@
viterbi615.o: viterbi615.c fec.h
-@@ -220,17 +218,15 @@ viterbi615_port.o: viterbi615_port.c fec
+@@ -220,17 +218,15 @@ viterbi615_port.o: viterbi615_port.c fec.h
viterbi615_av.o: viterbi615_av.c fec.h
viterbi615_mmx.o: viterbi615_mmx.c fec.h
@@ -182,10 +182,10 @@
viterbi615_sse2.o: viterbi615_sse2.c fec.h
- gcc $(CFLAGS) -msse2 -c -o $@ $<
--
--cpu_mode_x86.o: cpu_mode_x86.c fec.h
+ ${CC} $(CFLAGS) -msse2 -c -o $@ $<
+-cpu_mode_x86.o: cpu_mode_x86.c fec.h
+-
-cpu_mode_ppc.o: cpu_mode_ppc.c fec.h
+cpu_mode.o: cpu_mode.c fec.h