Blame gn-0153d369-no-O3.patch

958042a
diff -Naur gn-0153d369bbccc908f4da4993b1ba82728055926a-original/build/gen.py gn-0153d369bbccc908f4da4993b1ba82728055926a/build/gen.py
958042a
--- gn-0153d369bbccc908f4da4993b1ba82728055926a-original/build/gen.py	2021-09-27 14:58:14.000000000 -0400
958042a
+++ gn-0153d369bbccc908f4da4993b1ba82728055926a/build/gen.py	2021-09-27 15:59:42.330405195 -0400
958042a
@@ -344,10 +344,8 @@
958042a
       cflags.extend(['-O0', '-g'])
958042a
     else:
958042a
       cflags.append('-DNDEBUG')
958042a
-      cflags.append('-O3')
958042a
       if options.no_strip:
958042a
         cflags.append('-g')
958042a
-      ldflags.append('-O3')
958042a
       # Use -fdata-sections and -ffunction-sections to place each function
958042a
       # or data item into its own section so --gc-sections can eliminate any
958042a
       # unused functions and data items.