Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    r7abee38 r292d599b  
    2828MOSTLYCLEANFILES =
    2929
     30if WITH_LIBPROFILER
     31LIBPROFILER = -lprofiler
     32endif
     33
     34if WITH_LIBTCMALLOC
     35LIBTCMALLOC = -ltcmalloc
     36TCMALLOCFLAG = -DTCMALLOC
     37endif
     38
    3039include CodeGen/module.mk
    3140include CodeTools/module.mk
     
    5463cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler
    5564___driver_cfa_cpp_SOURCES = $(SRC)
    56 ___driver_cfa_cpp_LDADD = -ldl                  # yywrap
     65___driver_cfa_cpp_LDADD = -ldl $(LIBPROFILER) $(LIBTCMALLOC)
    5766
    58 AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O2 -g -std=c++14
     67AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O3 -g -std=c++14 $(TCMALLOCFLAG)
    5968AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
    6069ARFLAGS     = cr
Note: See TracChangeset for help on using the changeset viewer.