Index: third_party/tcmalloc/tcmalloc.gypi |
diff --git a/third_party/tcmalloc/tcmalloc.gypi b/third_party/tcmalloc/tcmalloc.gypi |
index fdfd186b608b6c41f50f63e380647f6f4591fc16..c8e20fe7bb92d922f743c5989906379889adf51e 100644 |
--- a/third_party/tcmalloc/tcmalloc.gypi |
+++ b/third_party/tcmalloc/tcmalloc.gypi |
@@ -65,17 +65,22 @@ |
'-fno-builtin-posix_memalign', |
'-fno-builtin-valloc', |
'-fno-builtin-pvalloc', |
+ '-fpermissive', |
], |
'cflags!': [ |
'-Werror', |
'-Wvla', |
], |
'link_settings': { |
- 'ldflags': [ |
- # Don't let linker rip this symbol out, otherwise the heap&cpu |
- # profilers will not initialize properly on startup. |
- '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', |
- ], |
+ 'configurations': { |
+ 'Dart_Linux_Base': { |
+ 'ldflags': [ |
+ # Don't let linker rip this symbol out, otherwise the heap&cpu |
+ # profilers will not initialize properly on startup. |
+ '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', |
+ ], |
+ }, |
+ }, |
}, |
'sources!': [ |
# No debug allocator. |