Skip to content

Commit

Permalink
Only pass PYARROW_CXXFLAGS when set
Browse files Browse the repository at this point in the history
Change-Id: I94fe0338d2e534355edc67bceafc9cf7e6ce251d
  • Loading branch information
wesm committed Jul 30, 2017
1 parent dedcbb9 commit 9534ae9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ def _run_cmake(self):
if self.with_plasma:
cmake_options.append('-DPYARROW_BUILD_PLASMA=on')

cmake_options.append('-DPYARROW_CXXFLAGS="{0}"'
.format(self.cmake_cxxflags))
if len(self.cmake_cxxflags) > 0:
cmake_options.append('-DPYARROW_CXXFLAGS="{0}"'
.format(self.cmake_cxxflags))

if self.bundle_arrow_cpp:
cmake_options.append('-DPYARROW_BUNDLE_ARROW_CPP=ON')
Expand Down

0 comments on commit 9534ae9

Please sign in to comment.