ltq-vdsl-mei: activate format security checks
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 25 Feb 2016 21:59:56 +0000 (21:59 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 25 Feb 2016 21:59:56 +0000 (21:59 +0000)
This activates the format warnings in this package and that makes it
possible to activate format-security checks.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48785

package/kernel/lantiq/ltq-vdsl-mei/Makefile
package/kernel/lantiq/ltq-vdsl-mei/patches/010-warnings.patch

index 64a7cf3026d18abfd4f700cfcf923c6714b1bff8..e0617aeb578521441f502a344e13123e8f52b259 100644 (file)
@@ -19,7 +19,6 @@ PKG_MD5SUM:=78bf61dbc3421123c6716b874a930759
 PKG_FIXUP:=autoreconf
 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
 PKG_USE_MIPS16:=0
-PKG_CHECK_FORMAT_SECURITY:=0
 
 include $(INCLUDE_DIR)/package.mk
 
index a3c7dfe26dea10d659cfdfed81b992a446e22102..04fa36b15ee2649ccc6738998d48bc7b23601cec 100644 (file)
  
     if (pDynNfc->pRecvDataCntrl[pDynNfc->rdIdxRd].bufCtrl != MEI_RECV_BUF_CTRL_FREE)      /* buffer in use */
     {
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -201,7 +201,7 @@ else
+ drv_mei_cpe_common_cflags = \
+       $(AM_CFLAGS) -D__KERNEL__ -DLINUX -D__linux__ -DMODULE -DEXPORT_SYMTAB \
+-      -pipe -Wno-format -Wimplicit -Wunused -Wuninitialized -Wsign-compare -Wstrict-aliasing
++      -pipe -Wall -Wimplicit -Wunused -Wuninitialized -Wstrict-aliasing
+ endif