Remove FreeBSD hack by requiring a newer gcc from ports.

This commit is contained in:
Alex Dupre
2013-06-29 10:01:34 +02:00
parent ebd10afdb2
commit ff0258aa8d
2 changed files with 7 additions and 7 deletions

View File

@@ -35,6 +35,13 @@ GCC_VERSION = re.split('\.', commands.getoutput(env['CXX'] + ' -dumpversion'))
#env.Replace(CC = 'clang')
#env.Replace(CXX = 'clang++')
# Use a newer gcc on FreeBSD
if FreeBSD:
env.Replace(CC = 'gcc46')
env.Replace(CXX = 'g++46')
env.Append(CCFLAGS = ['-Wl,-rpath=/usr/local/lib/gcc46'])
env.Append(LINKFLAGS = ['-Wl,-rpath=/usr/local/lib/gcc46'])
#
# Builder for CTags
#