Blob Blame History Raw
diff -Naur gn-03d10f1657b4-original/build/gen.py gn-03d10f1657b4/build/gen.py
--- gn-03d10f1657b4-original/build/gen.py	2024-02-22 16:27:50.129000000 -0500
+++ gn-03d10f1657b4/build/gen.py	2024-02-22 16:30:14.595100970 -0500
@@ -416,10 +416,8 @@
         cflags.extend(['-D_LIBCPP_DEBUG=1', '-D_GLIBCXX_DEBUG=1'])
     else:
       cflags.append('-DNDEBUG')
-      cflags.append('-O3')
       if options.no_strip:
         cflags.append('-g')
-      ldflags.append('-O3')
       # Use -fdata-sections and -ffunction-sections to place each function
       # or data item into its own section so --gc-sections can eliminate any
       # unused functions and data items.