|
|
@@ -50,15 +50,8 @@ class CompilerWrapper():
|
|
|
def add_flags(self):
|
|
|
self.args = self.prepend_flags + self.args + self.append_flags
|
|
|
|
|
|
- def print_deprecation_warning(self):
|
|
|
- print("Android GCC has been deprecated in favor of Clang, and will be removed from\n"
|
|
|
- "Android in 2020-01 as per the deprecation plan in:\n"
|
|
|
- "https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md\n\n",
|
|
|
- file=sys.stderr)
|
|
|
-
|
|
|
|
|
|
def invoke_compiler(self):
|
|
|
- self.print_deprecation_warning()
|
|
|
self.set_real_compiler()
|
|
|
self.parse_custom_flags()
|
|
|
self.process_gomacc_command()
|