瀏覽代碼

[fix] compile erros in qemu

Wu Han 3 年之前
父節點
當前提交
b751ff8c9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SConscript

+ 1 - 1
SConscript

@@ -47,7 +47,7 @@ path   += [cwd + '/libsodium/include/sodium/private']
 LOCAL_CCFLAGS = ''
 
 if rtconfig.CROSS_TOOL == 'gcc':
-    LOCAL_CCFLAGS += ' -Wno-unknown-pragmas -Wno-unused-function'
+    LOCAL_CCFLAGS += ' -Wno-unknown-pragmas -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-variable'
 
 group = DefineGroup('libsodium', src, depend = ['PKG_USING_LIBSODIUM'], CPPPATH = path, CPPDEFINES=['CONFIGURED=1'], LOCAL_CCFLAGS = LOCAL_CCFLAGS)