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

                    

                                                                          
                                    
 





                                                                                                               

                      
                          

                    
 
                                                           
                                        
# vim: filetype=make
#
# This file is deprecated. Everything here should be moved to 'configure'.
CXXFLAGS += ${WARNINGS}
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