Changeset 1829835 in sasview


Ignore:
Timestamp:
Apr 2, 2014 5:54:23 PM (10 years ago)
Author:
ajj
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b6a181b
Parents:
cafa75f
Message:

Updated setup.py to allow successful build on OS X 10.9 with clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    reda8972 r1829835  
    9090# Platform-specific link options 
    9191platform_lopt = {'msvc' : ['/MANIFEST']} 
     92platform_copt = {'unix' : ['-Wno-error=unused-command-line-argument-hard-error-in-future']} 
     93 
    9294 
    9395class build_ext_subclass( build_ext ): 
     
    110112            for e in self.extensions: 
    111113                e.extra_link_args = platform_lopt[ c ] 
     114 
     115        if platform_copt.has_key(c): 
     116            for e in self.extensions: 
     117                e.extra_compile_args = platform_copt[ c ] 
     118 
    112119 
    113120        build_ext.build_extensions(self) 
Note: See TracChangeset for help on using the changeset viewer.