Changeset 292d599 for src/Makefile.am


Ignore:
Timestamp:
May 10, 2019, 12:02:12 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
36354b1
Parents:
b038fe4
Message:

Fixed problem with TCMALLOC and heap stats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    rb038fe4 r292d599  
    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 if WITH_LIBPROFILER
    59         ___driver_cfa_cpp_LDADD += -lprofiler
    60 endif
    61 
    62 if WITH_LIBTCMALLOC
    63         ___driver_cfa_cpp_LDADD += -ltcmalloc
    64 endif
    65 
    66 AM_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
     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)
    6768AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
    6869ARFLAGS     = cr
Note: See TracChangeset for help on using the changeset viewer.