Fix "make arm asan=$CLANG"
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Apr 2014 12:53:07 +0000 (12:53 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Apr 2014 12:53:07 +0000 (12:53 +0000)
Bonus cleanup: remove a few duplicate compiler flags

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/220883003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20402 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

Makefile
build/toolchain.gypi

index cdf5d74..ff01c7d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -140,9 +140,9 @@ endif
 # asan=/path/to/clang++
 ifneq ($(strip $(asan)),)
   GYPFLAGS += -Dasan=1
-  export CXX="$(asan)"
-  export CXX_host="$(asan)"
-  export LINK="$(asan)"
+  export CXX=$(asan)
+  export CXX_host=$(asan)
+  export LINK=$(asan)
   export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer"
 endif
 
index 4a70d6f..dc25036 100644 (file)
         'conditions': [
           ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
             OS=="qnx"', {
-            'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
-                        '-Wnon-virtual-dtor', '-Woverloaded-virtual',
-                        '<(wno_array_bounds)',
-                      ],
+            'cflags': [ '-Woverloaded-virtual', '<(wno_array_bounds)', ],
             'conditions': [
               ['v8_optimized_debug==0', {
                 'cflags!': [