Revision 6b266e90789290ba5b574d8102e50b2da934f75f authored by Axel Naumann on 29 April 2016, 21:38:38 UTC, committed by Philippe Canal on 29 April 2016, 22:14:00 UTC
A class without user declared constructor still might not have a default consructor. E.g. a class with a user provided move ctor. Or with a base or member with deleted default ctor. Just let clang do the right thing.
1 parent 8ea5daa
Makefile.linuxx32gcc
# -*- mode: makefile -*-
#
# Makefile of ROOT for x32 bit ABI ("64bit with 32bit pointers") on Linux with gcc
PLATFORM = linux
DEBUGFLAGS = -g
OPTFLAGS = -O2 -DNDEBUG
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT =
else
OPT = $(OPTFLAGS)
NOOPT =
endif
ifeq ($(CXX14),yes)
CXX11FLAGS = -std=c++1y
else
CXX11FLAGS = -std=c++11
endif
# Compiler:
CXX = g++
CC = gcc
CXXFLAGS = $(CXX11FLAGS) -pipe -mx32 -Wshadow -Wall -W -Woverloaded-virtual \
-fPIC -msse -mfpmath=sse $(EXTRA_CXXFLAGS) \
-Wno-deprecated-declarations $(USERCONF_CXXFLAGS)
CFLAGS = -pipe -mx32 -Wshadow -Wall -W -fPIC $(EXTRA_CFLAGS) $(USERCONF_CFLAGS)
COMPILER = gnu
# Linker:
LD = g++
LDFLAGS = -mx32 $(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 -mx32 -std=legacy
ifneq ($(shell $(F77) -mx32 -print-file-name=libgfortran.$(SOEXT)),libgfortran.$(SOEXT))
F77LIBS := $(shell $(F77) -mx32 -print-file-name=libgfortran.$(SOEXT))
else
F77LIBS := $(shell $(F77) -mx32 -print-file-name=libgfortran.a)
endif
F77LIBS += $(shell $(F77) -mx32 -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 -mx32
ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so)
F77LIBS := $(shell $(F77) -mx32 -print-file-name=libg2c.so) -lnsl
else
F77LIBS := $(shell $(F77) -mx32 -print-file-name=libg2c.a) -lnsl
endif
endif
# Extra
Computing file changes ...