Huge cleanup of type warnings etc.
[yaffs2.git] / direct / test-framework / tests / Makefile
index 2fc97f0f6dd1af438cc8774c7f272d1c653b140e..5b976b5069b587f10a562c50532b1b37783397ea 100644 (file)
@@ -29,7 +29,7 @@ ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
 
 include ../FrameworkRules.mk
 
-C_FLAGS += -DCONFIG_YAFFS_USE_PTHREADS
+CFLAGS += -DCONFIG_YAFFS_USE_PTHREADS -Werror
 
 yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
        gcc $(CFLLAG) -o $@ $(YAFFS_TEST_OBJS) -lpthread