diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-11-29 18:02:18 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-11-29 18:02:18 -0800 |
commit | 1b62db4e46865949779560e25fe835eeea3dc48b (patch) | |
tree | c58010a2bd5b86fbcf5a4dd249df39b8797308ec /Makefile | |
parent | 9f599ce440d50fcb14ddde4fbf100d753a73e761 (diff) | |
download | txr-1b62db4e46865949779560e25fe835eeea3dc48b.tar.gz txr-1b62db4e46865949779560e25fe835eeea3dc48b.tar.bz2 txr-1b62db4e46865949779560e25fe835eeea3dc48b.zip |
Increase stack size on Windows.
* Makefile: include CONF_LDFLAGS in LDFLAGS.
* configure (conf_ldflags): New variable.
(gen_config_make): Generate CONF_LDFLAGS make variable.
New test which sets up conf_ldflags for a 16Mb stack
size if we are on Cygwin or MinGW.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ CFLAGS := -iquote $(conf_dir) $(if $(top_srcdir),-iquote $(top_srcdir)) \ $(LANG_FLAGS) $(DIAG_FLAGS) \ $(DBG_FLAGS) $(PLATFORM_CFLAGS) $(EXTRA_FLAGS) CFLAGS := $(filter-out $(REMOVE_FLAGS),$(CFLAGS)) -LDFLAGS := -lm $(PLATFORM_LDFLAGS) +LDFLAGS := -lm $(CONF_LDFLAGS) $(PLATFORM_LDFLAGS) ifneq ($(subst g++,@,$(notdir $(CC))),$(notdir $(CC))) CFLAGS := $(filter-out -Wmissing-prototypes -Wstrict-prototypes,$(CFLAGS)) |