mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Expand certain table sizes, add comments to Makefile.local
Expanded the globalsymbol string table size: from 1024 to 65536. Expanded the how often to reallocate string table is performed: from 100 to 1024. Expanded the number env_pool elements to allocate at a time: from 10 to 256. Improve comments on Makefile.local and add a few more examples of how it might be used.
This commit is contained in:
@@ -8,11 +8,23 @@
|
||||
# To replace a Makefile variable, use := symbols. For example:
|
||||
#
|
||||
# CCWERR:= -Werror
|
||||
#
|
||||
# NOTE: You need to remove the leading '#<whitespaces>' to take effect.
|
||||
# Comments start with a #-character.
|
||||
#
|
||||
|
||||
###################################################################
|
||||
# NOTE: For this and other commended out examples in this file, #
|
||||
# you need to remove the leading '#<whitespaces>' to take effect. #
|
||||
# #
|
||||
# Comments start with a #-character. #
|
||||
###################################################################
|
||||
|
||||
# You can append to an existing Makefile variable using '+=' symbols.
|
||||
# For example:
|
||||
#
|
||||
# CFLAGS+= -Ofast
|
||||
|
||||
# For example, on macOS 12.1, you can use the following lines to
|
||||
# invoke clang's AddressSanitizer. You do NOT want to do this by
|
||||
# by default! Do this only if you are debugging calc using clang.
|
||||
#
|
||||
# CFLAGS+= -fsanitize=address -fno-omit-frame-pointer
|
||||
# LDFLAGS+= -fsanitize=address -fno-omit-frame-pointer
|
||||
# CALC_ENV+= ASAN_OPTIONS=detect_stack_use_after_return=1
|
||||
|
Reference in New Issue
Block a user