Skip to content

Commit

Permalink
Merge pull request #27 from sebastic/hardening
Browse files Browse the repository at this point in the history
Use CXXFLAGS & LDFLAGS set in the environment.
  • Loading branch information
kenohori committed May 19, 2016
2 parents 0f11b66 + b568f6e commit 417f1bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ endif()

include_directories( ${GDAL_INCLUDE_DIR} )

# Hardening buildflags
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} $ENV{CXXFLAGS}")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} $ENV{LDFLAGS}")

# Creating entries for target: prepair
# ############################

Expand Down

0 comments on commit 417f1bc

Please # to comment.