Commit d3922b53 authored by Jonathon Duerig's avatar Jonathon Duerig

Add clang-specific command-line options for assign

parent a721dca3
......@@ -30,16 +30,6 @@ NEWER_BOOST = @NEWER_BOOST@
include $(OBJDIR)/Makeconf
#
# XXX tmp hack for FreeBSD 10 with clang:
# Doesn't compile right now with clang so use gcc46 instead.
#
#ifneq ($(wildcard /usr/bin/clang),)
#CC=gcc46
#CPP=cpp46
#CXX=g++46
#endif
#
# Uncomment these to build with gcc3.3
#
......@@ -58,11 +48,18 @@ OBJS=parse_top.o parse_ptop.o assign.o pclass.o vclass.o score.o \
config.o
LIBS+= -lm
LDFLAGS+= -pipe -O3
CXXFLAGS = -pipe -I/usr/local/include -ftemplate-depth-80 -Wno-c++11-extensions
CXXFLAGS = -pipe -I/usr/local/include -ftemplate-depth-80
# For OSX w/ macports
CXXFLAGS += -I/opt/local/include
LIBS += -L/opt/local/lib
#
# If we are on FreeBSD 10 with clang, we need to use C++11 extensions:
#
ifneq ($(wildcard /usr/bin/clang),)
CXXFLAGS += -Wno-c++11-extensions
endif
ifeq ($(HAVE_XERCES),yes)
CXXFLAGS += -DWITH_XML
LIBS += -L/usr/local/lib -lxerces-c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment