Revision 32df5a03fe2371d9ac46380ea6163d0519bbf711 authored by Philippe Canal on 28 March 2014, 19:13:34 UTC, committed by Philippe Canal on 28 March 2014, 19:15:54 UTC
This solves ROOT-5778 by making sure that TClassEdit::ResolveTypedef("const std::string&") and TClassEdit::ResolveTypedef("const std::string &") returns "const std::string&"
1 parent 0a29c1c
Makefile.linuxx8664gcc
# -*- mode: makefile -*-
#
# Makefile of ROOT for AMD Opteron and Intel EM64T (64 bit mode) Linux with gcc
PLATFORM = linux
DEBUGFLAGS = -g
#DEBUGFLAGS = -gstabs
OPTFLAGS = -O2
# Optional compiler options for gcc >= 3.4.0
#OPTFLAGS = -O3 -march=opteron
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT =
else
OPT = $(OPTFLAGS)
NOOPT =
endif
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual \
-fPIC $(EXTRA_CXXFLAGS) \
-std=c++11 -Wno-deprecated-declarations
CFLAGS = -pipe -m64 -Wshadow -Wall -W -fPIC $(EXTRA_CFLAGS)
COMPILER = gnu
CLINGCXXFLAGS += -Werror -Wall
CXXFLAGS += -Werror -Wall -Wshadow
NOOPT += -pedantic -Wno-long-long
# Linker:
LD = g++
LDFLAGS = -m64 $(OPT) $(EXTRA_LDFLAGS) -Wl,--no-undefined -Wl,--as-needed
SOFLAGS = -shared -Wl,-soname,
SOEXT = so
# System libraries:
SYSLIBS = -lm -ldl $(OSTHREADLIBDIR) $(OSTHREADLIB) \
$(ALLOCLIBDIR) $(ALLOCLIB) -rdynamic
XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11
CILIBS = -lm -ldl -rdynamic
CRYPTLIBS = -lcrypt
# Fortran:
ifneq ($(findstring gfortran, $(F77)),)
ifeq ($(F77),)
# only needed to get default compiler in ./configure
F77 = gfortran
endif
F77FLAGS = -fPIC -m64 -std=legacy
ifneq ($(shell $(F77) -m64 -print-file-name=libgfortran.$(SOEXT)),libgfortran.$(SOEXT))
F77LIBS := $(shell $(F77) -m64 -print-file-name=libgfortran.$(SOEXT))
else
F77LIBS := $(shell $(F77) -m64 -print-file-name=libgfortran.a)
endif
F77LIBS += $(shell $(F77) -m64 -print-file-name=libgfortranbegin.a)
endif
ifneq ($(findstring g77, $(F77)),)
ifeq ($(F77),)
# only needed to get default compiler in ./configure
F77 = g77
endif
F77FLAGS = -fPIC -m64
ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so)
F77LIBS := $(shell $(F77) -m64 -print-file-name=libg2c.so) -lnsl
else
F77LIBS := $(shell $(F77) -m64 -print-file-name=libg2c.a) -lnsl
endif
endif
# Extras
GLIBC_MALLOC_DEPRECATED = yes
Computing file changes ...