From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

netperf: compile with "-fcommon" to make it work with GCC 10

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/netperf/GET b/netperf/GET
--- a/netperf/GET
+++ b/netperf/GET
@@ -14,13 +14,13 @@ cd netperf-$VERSION
 
 ./configure
 
-make
+make CFLAGS="-fcommon"
 mkdir bin
 cp src/netperf bin/
 cp src/netserver bin/
 
 make clean
-make CFLAGS="-fPIC -shared"
+make CFLAGS="-fPIC -shared -fcommon"
 mkdir osv
 cp src/netserver osv/netserver.so
 cp src/netserver ../../netserver.so

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/000000000000b4225d05d3dd6495%40google.com.

Reply via email to