Skip to contentSkip to conversation

fio: disable for static build

PATCH New Baruch Siach 2 participants 2 messages May 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fio: disable for static build

Fixes:
http://autobuild.buildroot.net/results/275/275dc359d72513fd567b7ccbbd4061dffd8a5266/
http://autobuild.buildroot.net/results/5e8/5e8cc28da6a17dcb142eb6d8a8cada735b211e2e/

---
 package/fio/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/fio/Config.in +3 -2
index 75af6a79068f..b1f90456e10d 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_FIO
 	bool "fio"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# fio uses posix_madvise(), which is not part of any official
 	# release of uClibc, but is part of uClibc Git, and backported
@@ -17,7 +18,7 @@ config BR2_PACKAGE_FIO
 
 	  http://git.kernel.dk/?p=fio.git;a=summary
 
-comment "fio needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "fio needs a toolchain w/ dynamic library, threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 	depends on !BR2_nios2
 	depends on BR2_USE_MMU
Signature · 1 line
2.1.4