summaryrefslogblamecommitdiff
path: root/make.defs
blob: 0f352447e2dbd6252f3de61bda9dcfe788156c6c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                    
          
         
 
          
             



                                                 
                                    
 





                                                                                                               

                      
                          

                    
 
                                                           
                                        
# vim: filetype=make
#
# defaults
CXX = g++

LEX = flex
BISON = bison
CXXFLAGS = ${DEBUG} ${OPT} ${WARNINGS}
# these being separate use useful for development
DEBUG = -g
OPT = -pipe -O2
WARNINGS = -include src/warnings.hpp

# Location of gtest source tree. It must contain the file src/gtest-all.cc
# Note: linking against a precompiled library is NOT supported;
# it may have used different CXXFLAGS. See
# http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
GTEST_DIR = /usr/src/gtest

# gdb bug 15801
CXX += -fabi-version=6
override CXX += -std=c++0x
# for linking
override CC = ${CXX}

override CXXFLAGS += -fstack-protector -fno-strict-aliasing
override CXXFLAGS += -fvisibility=hidden