diff options
Diffstat (limited to 'third_party/zlib/SConscript')
-rw-r--r-- | third_party/zlib/SConscript | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/third_party/zlib/SConscript b/third_party/zlib/SConscript index 5a7de33..08f66c6 100644 --- a/third_party/zlib/SConscript +++ b/third_party/zlib/SConscript @@ -27,16 +27,20 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# 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()
-env.Append(
- CCFLAGS = [
- '/TC',
- '/wd4800',
- ],
-)
+if PLATFORM == 'WINDOWS':
+ env.Append(
+ CCFLAGS = [
+ '/TC',
+ '/wd4800',
+ ],
+ )
input_files = [
'adler32.c',
|