瀏覽代碼

fixup add proj_c_flags

nosoop 2 年之前
父節點
當前提交
300f02d16a
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 0 1
      AMBuildScript
  2. 3 0
      AMBuilder

+ 0 - 1
AMBuildScript

@@ -144,7 +144,6 @@ class MMSConfig(object):
         '_alloca=alloca',
         'GNUC'
       ]
-      cxx.cflags += proj_c_flags
       cxx.cflags += [ # todo: what is the difference between cflags and cxxflags
         '-fPIC',
         '-fno-exceptions',

+ 3 - 0
AMBuilder

@@ -8,6 +8,9 @@ proj_srcs = [
   'memscan.cpp',
 ]
 
+proj_c_flags = [
+]
+
 for sdk_name in MMS.sdks:
   for arch in MMS.archs:
     sdk = MMS.sdks[sdk_name]