Browse Source

fixup add proj_c_flags

nosoop 2 years ago
parent
commit
300f02d16a
2 changed files with 3 additions and 1 deletions
  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]