From 6c408ad20607f4fdd97acebafc75df34547bc70a Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Fri, 8 Nov 2013 20:07:01 +0400 Subject: [PATCH] [FIX] warnings in swap_sampler build it with -Werror Change-Id: If78febd7b0207b785cf889070f2fb8ad3af52a22 Signed-off-by: Alexander Aksenov --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b2f049e..49f4ef3 100755 --- a/build.sh +++ b/build.sh @@ -83,7 +83,7 @@ make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${ks_feature sampler_module_name=swap_sampler.ko make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${sampler_dir} \ - extra_cflags="-I${modules_dir}" modules || exit 1 + extra_cflags="-Werror -I${modules_dir}" modules || exit 1 energy_module_name=swap_energy.ko make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${energy_dir} \ -- 2.7.4