Skip to content

Commit

Permalink
Enables link-time optimized builds for osrm binaries.
Browse files Browse the repository at this point in the history
The default just flipped from on to off upstream.
Re-enables LTO. See Project-OSRM/osrm-backend#3524.
  • Loading branch information
daniel-j-h committed Jan 5, 2017
1 parent fc560d4 commit 403902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -19,7 +19,7 @@ node_modules: package.json
build/%/node-osrm.node: ./node_modules
mkdir -p build &&\
cd build &&\
cmake .. -DCMAKE_BUILD_TYPE=$* -DBUILD_LIBOSRM=On &&\
cmake .. -DCMAKE_BUILD_TYPE=$* -DBUILD_LIBOSRM=On -DENABLE_LTO=ON &&\
VERBOSE=1 make -j${JOBS} &&\
cd ..

Expand Down

0 comments on commit 403902c

Please sign in to comment.