From: Waldemar Kozaczuk <jwkozac...@gmail.com>
Committer: Waldemar Kozaczuk <jwkozac...@gmail.com>
Branch: master
Converted iperf3 to pie
Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com>
---
diff --git a/iperf3/Makefile b/iperf3/Makefile
--- a/iperf3/Makefile
+++ b/iperf3/Makefile
@@ -17,7 +17,7 @@ iperf3: $(iperfv)/src/.libs/iperf3
$(iperfv)/src/.libs/iperf3: $(tarball)
tar xzf $^
- cd $(iperfv) && CFLAGS='-fPIC -g' CXXFLAGS='-fPIC -g' ./configure
--with-openssl=no
+ cd $(iperfv) && CFLAGS='-fpie -g' CXXFLAGS='-fpie -g'
LDFLAGS='-pie' ./configure --with-openssl=no
+$(MAKE) -C $(iperfv)
$(tarball):
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/osv-dev/000000000000c68ac70589148669%40google.com.
For more options, visit https://groups.google.com/d/optout.