Projects
windmill:databases
mongodb
mongodb_cxxflags.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mongodb_cxxflags.patch of Package mongodb
Index: SConstruct =================================================================== --- SConstruct.orig +++ SConstruct @@ -208,6 +208,17 @@ usePCH = has_option( "usePCH" ) justClientLib = (COMMAND_LINE_TARGETS == ['mongoclient']) env = Environment( MSVS_ARCH=msarch , tools = ["default", "gch"], toolpath = '.' ) + +# process env variables +for K in ['CPPFLAGS', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS', 'CC', 'CXX']: + if K in os.environ: + dict = env.ParseFlags(os.environ[K]) + # These headers are supposed static. Don't check at each build. + for i in dict['CPPPATH']: + dict['CCFLAGS'].append('-I' + i) + dict['CPPPATH'] = [] + env.MergeFlags(dict) + if has_option( "cxx" ): env["CC"] = get_option( "cxx" ) env["CXX"] = get_option( "cxx" )
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.