浏览代码

Fix compile failures on Intrepid

Ross Burton 17 年之前
父节点
当前提交
1a5ccf1dde
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      meta/conf/bitbake.conf

+ 1 - 1
meta/conf/bitbake.conf

@@ -378,7 +378,7 @@ PATCHRESOLVE = 'user'
 # Build flags and options.
 ##################################################################
 
-export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}"
+export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE} -U_FORTIFY_SOURCE -Wno-format-security"
 BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}"
 export CPPFLAGS = "${TARGET_CPPFLAGS}"
 export TARGET_CPPFLAGS = ""