samples: vfs: build sample programs for target architecture
[sfrench/cifs-2.6.git] / samples / Kconfig
index 08f2d025ca05d0a9375cffaea5bb97ca7ccc27f3..831a7ecd33527fcf54fb71b593705c8b4cd282db 100644 (file)
@@ -184,7 +184,7 @@ config SAMPLE_ANDROID_BINDERFS
 
 config SAMPLE_VFS
        bool "Build example programs that use new VFS system calls"
-       depends on HEADERS_INSTALL
+       depends on CC_CAN_LINK && HEADERS_INSTALL
        help
          Build example userspace programs that use new VFS system calls such
          as mount API and statx().  Note that this is restricted to the x86