• Home
  • Raw
  • Download

Lines Matching refs:cmd

100   std::vector<std::string> cmd = { "versioner" };  in generateTargetCC1Flags()  local
102 cmd.push_back("-std=gnu++11"); in generateTargetCC1Flags()
103 cmd.push_back("-x"); in generateTargetCC1Flags()
104 cmd.push_back("c++"); in generateTargetCC1Flags()
106 cmd.push_back("-std=gnu11"); in generateTargetCC1Flags()
107 cmd.push_back("-x"); in generateTargetCC1Flags()
108 cmd.push_back("c"); in generateTargetCC1Flags()
111 cmd.push_back("-fsyntax-only"); in generateTargetCC1Flags()
113 cmd.push_back("-Wall"); in generateTargetCC1Flags()
114 cmd.push_back("-Wextra"); in generateTargetCC1Flags()
115 cmd.push_back("-Weverything"); in generateTargetCC1Flags()
116 cmd.push_back("-Werror"); in generateTargetCC1Flags()
117 cmd.push_back("-Wundef"); in generateTargetCC1Flags()
118 cmd.push_back("-Wno-unused-macros"); in generateTargetCC1Flags()
119 cmd.push_back("-Wno-unused-function"); in generateTargetCC1Flags()
120 cmd.push_back("-Wno-unused-variable"); in generateTargetCC1Flags()
121 cmd.push_back("-Wno-unknown-attributes"); in generateTargetCC1Flags()
122 cmd.push_back("-Wno-pragma-once-outside-header"); in generateTargetCC1Flags()
124 cmd.push_back("-target"); in generateTargetCC1Flags()
125 cmd.push_back(arch_targets[type.arch]); in generateTargetCC1Flags()
127 cmd.push_back("-DANDROID"); in generateTargetCC1Flags()
128 cmd.push_back("-D__ANDROID_API__="s + std::to_string(type.api_level)); in generateTargetCC1Flags()
132 cmd.push_back("-D_FORTIFY_SOURCE=2"); in generateTargetCC1Flags()
134 cmd.push_back("-D_FORTIFY_SOURCE=0"); in generateTargetCC1Flags()
135 cmd.push_back("-D__BIONIC_DECLARE_FORTIFY_HELPERS"); in generateTargetCC1Flags()
137 cmd.push_back("-D_GNU_SOURCE"); in generateTargetCC1Flags()
138 cmd.push_back("-D_FILE_OFFSET_BITS="s + std::to_string(type.file_offset_bits)); in generateTargetCC1Flags()
140 cmd.push_back("-nostdinc"); in generateTargetCC1Flags()
143 cmd.push_back("-include"); in generateTargetCC1Flags()
144 cmd.push_back("android/versioning.h"); in generateTargetCC1Flags()
148 cmd.push_back("-isystem"); in generateTargetCC1Flags()
149 cmd.push_back(dir); in generateTargetCC1Flags()
152 cmd.push_back("-include"); in generateTargetCC1Flags()
153 cmd.push_back(filename_placeholder); in generateTargetCC1Flags()
154 cmd.push_back("-"); in generateTargetCC1Flags()
161 for (const std::string& str : cmd) { in generateTargetCC1Flags()