Disabling OpenMP for good on OS X, see issue #123

This commit is contained in:
DennisOSRM 2012-02-27 13:09:59 +01:00
parent 25d15fe2af
commit 02e15bd3d2

View File

@ -217,6 +217,7 @@ env.Append(BUILDERS = {'Protobuf' : protobld})
osm1 = env.Protobuf('DataStructures/pbf-proto/fileformat.proto')
osm2 = env.Protobuf('DataStructures/pbf-proto/osmformat.proto')
#Hack to make OSRM compile on the default OS X Compiler.
if sys.platform != 'darwin':
env.Append(CCFLAGS = ['-fopenmp'])
env.Append(LINKFLAGS = ['-fopenmp'])