OSDN Git Service

Subzero: Fix target attribute when SZTARGET is defined.
authorJim Stichnoth <stichnot@chromium.org>
Fri, 9 Sep 2016 16:33:07 +0000 (09:33 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Fri, 9 Sep 2016 16:33:07 +0000 (09:33 -0700)
commit84ea9a70bc14ec528d8d377462317fd46660f3de
treea3d3978cd81a85683c6f640763621fe52c304392
parent5d5b6627479ee560ff50e4f0284e78c8d0111258
Subzero: Fix target attribute when SZTARGET is defined.

Adds the right macro voodoo so that when Subzero is built for a single target, e.g.:

$ make -f Makefile.standalone SZTARGET=ARM32

we get output like this:

$ ./pnacl-sz --build-atts
target_ARM32

rather than this:

$ ./pnacl-sz --build-atts
target_SZTARGET

BUG= none
R=eholk@chromium.org

Review URL: https://codereview.chromium.org/2306273002 .
src/IceCompileServer.cpp
src/IceDefs.h
src/IceRevision.cpp