NULL WeakPtr should not malloc!
[WebKit.git] / Makefile.shared
index 5dae818..b318440 100644 (file)
@@ -24,6 +24,13 @@ ifneq (,$(ARCHS))
        else
                XCODE_OPTIONS := $(XCODE_OPTIONS) ARCHS="$(ARCHS)"
                XCODE_OPTIONS += ONLY_ACTIVE_ARCH=NO
+               # Make Plugin.32 and Plugin.64 build even when they can't be built for the specified architecture.
+               ifeq ($(ARCHS),i386)
+                       XCODE_OPTIONS += VALID_ARCHS=i386
+               endif
+               ifeq ($(ARCHS),x86_64)
+                       XCODE_OPTIONS += VALID_ARCHS=x86_64
+               endif
        endif
 endif
 
@@ -31,7 +38,8 @@ DEFAULT_VERBOSITY := $(shell defaults read org.webkit.BuildConfiguration BuildTr
 VERBOSITY ?= $(DEFAULT_VERBOSITY)
 
 ifeq ($(VERBOSITY),default)
-OUTPUT_FILTER = grep -v setenv
+OUTPUT_FILTER = cat
+XCODE_OPTIONS += -hideShellScriptEnvironment
 else
 ifeq ($(VERBOSITY),noisy)
 OUTPUT_FILTER = cat