X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.rules;h=888c5bdf04069571ef42764bb01d6825f156f822;hb=f61e6457a5c70eb890fd5b77b82f124ed420e8af;hp=56373c0edc40a19b96ef65be6fe30d6672c13d89;hpb=bed2946a96ecb15b0b636fa74cb26ce61b1c648e;p=oota-llvm.git diff --git a/Makefile.rules b/Makefile.rules index 56373c0edc4..888c5bdf040 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -244,6 +244,11 @@ ifndef REQUIRES_EH CXX.Flags += -fno-exceptions endif +# IF REQUIRES_RTTI=1 is specified then don't disable run-time type id +ifndef REQUIRES_RTTI +# CXX.Flags += -fno-rtti +endif + # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), # then disable assertions by defining the appropriate preprocessor symbols. ifdef DISABLE_ASSERTIONS @@ -1730,6 +1735,15 @@ check-line-length: check-for-tabs: @egrep -n ' ' $(Sources) +check-footprint: + @ls -l $(LibDir) | awk '\ + BEGIN { sum = 0; } \ + { sum += $$5; } \ + END { printf("Libraries: %6.3f MBytes\n", sum/(1024.0*1024.0)); }' + @ls -l $(ToolDir) | awk '\ + BEGIN { sum = 0; } \ + { sum += $$5; } \ + END { printf("Programs: %6.3f MBytes\n", sum/(1024.0*1024.0)); }' #------------------------------------------------------------------------ # Print out the directories used for building #------------------------------------------------------------------------