Skip to content

Commit

Permalink
Use CXXFLAGS & LDFLAGS set in the environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastic committed May 13, 2016
1 parent 0f11b66 commit b568f6e
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 b568f6e

Please sign in to comment.