Commit 37fa9f1e authored by mitz@apple.com's avatar mitz@apple.com

<rdar://problem/8995822> Build DumpRenderTree perl support only for the architectures

DumpRenderTree is being built for.

Reviewed by Mark Rowe.

* DumpRenderTree/mac/PerlSupport/Makefile:



git-svn-id: svn://svn.chromium.org/blink/trunk@80947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 9eea7d4b
2011-03-12 Dan Bernstein <mitz@apple.com>
Reviewed by Mark Rowe.
<rdar://problem/8995822> Build DumpRenderTree perl support only for the architectures
DumpRenderTree is being built for.
* DumpRenderTree/mac/PerlSupport/Makefile:
2011-03-12 Dan Bernstein <mitz@apple.com> 2011-03-12 Dan Bernstein <mitz@apple.com>
Suggested by Mark Rowe. Suggested by Mark Rowe.
......
...@@ -66,7 +66,7 @@ $(PERL_MODULE): DumpRenderTreeSupportPregenerated.pm $(DUMPRENDERTREE) ...@@ -66,7 +66,7 @@ $(PERL_MODULE): DumpRenderTreeSupportPregenerated.pm $(DUMPRENDERTREE)
endif endif
$(DYLIB): DumpRenderTreeSupport.c $(WRAPPER) $(DYLIB): DumpRenderTreeSupport.c $(WRAPPER)
gcc -g -dynamiclib -o $(DYLIB) `$(PERL) -MExtUtils::Embed -eperl_inc` `$(PERL) -MExtUtils::Embed -eldopts` $^ gcc -g -dynamiclib -o $(DYLIB) `$(PERL) -MExtUtils::Embed -eperl_inc` `$(PERL) -MExtUtils::Embed -e'my $$opts = ldopts(0); $$opts =~ s/-arch [^ ]*( |$$)//g; print $$opts, " -arch ",join(" -arch", split(" ",$$ENV{ARCHS}))'` $^
clean: clean:
rm -f $(WRAPPER) $(PERL_MODULE) $(DYLIB) rm -f $(WRAPPER) $(PERL_MODULE) $(DYLIB)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment