summaryrefslogtreecommitdiffstats
path: root/third_party/bspatch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bspatch')
-rw-r--r--third_party/bspatch/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/third_party/bspatch/SConscript b/third_party/bspatch/SConscript
index cdd079f..99fdfea 100644
--- a/third_party/bspatch/SConscript
+++ b/third_party/bspatch/SConscript
@@ -28,8 +28,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
-Import('PLATFORM')
-
Import('env')
env = env.Clone(
@@ -46,7 +44,8 @@ env.Append(
'_LZMA_IN_CB',
],
)
-if PLATFORM == 'WINDOWS':
+
+if env['PLATFORM'] == 'win32':
env.Append(
CCFLAGS = [
'/TP',