Browse Source

netperf: fix compile with gcc >= 10

Waldemar Brodkorb 1 year ago
parent
commit
3834811a6b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/netperf/Makefile

+ 1 - 0
package/netperf/Makefile

@@ -18,6 +18,7 @@ include ${ADK_TOPDIR}/mk/package.mk
 
 
 $(eval $(call PKG_template,NETPERF,netperf,${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 $(eval $(call PKG_template,NETPERF,netperf,${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 
+TARGET_CFLAGS+=		-fcommon
 # uClibc setpgrp does not take arguments
 # uClibc setpgrp does not take arguments
 CONFIGURE_ENV+=		ac_cv_func_setpgrp_void=yes
 CONFIGURE_ENV+=		ac_cv_func_setpgrp_void=yes