Skip to content

Commit

Permalink
Merge pull request #178 from 00k/no-boost-dependence
Browse files Browse the repository at this point in the history
support user defined compiler through CXX env variable
  • Loading branch information
zd-double authored Jan 16, 2017
2 parents 85ec224 + ae391e2 commit f9877d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ else
endif
endif

ifndef CXX
CXX=g++
endif

#-----------------------------------------------

CXX=g++
INCPATH=-Isrc -I$(PROTOBUF_DIR)/include -I$(SNAPPY_DIR)/include -I$(ZLIB_DIR)/include
CXXFLAGS += $(OPT) -pipe -W -Wall -fPIC -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DHAVE_SNAPPY $(INCPATH)

Expand Down

0 comments on commit f9877d6

Please sign in to comment.