blob: 4c6819f93255b8740d7350bdce03e3e3faece06f [file] [log] [blame]
LEVEL = ../..
LIBRARYNAME=poolalloc_safe_rt
BYTECODE_LIBRARY=1
#
# Build shared libraries on all platforms except Cygwin and MingW (which do
# not support them).
#
ifneq ($(OS),Cygwin)
ifneq ($(OS),MingW)
SHARED_LIBRARY=1
endif
endif
ifeq ($(OS),Linux)
CXX.Flags += -march=native
else
CXX.Flags += -march=nocona
endif
CXX.Flags += -fno-threadsafe-statics
include $(LEVEL)/Makefile.common
# Always build optimized and debug versions
all:: $(LIBNAME_OBJO) $(LIBNAME_OBJG)