summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-29 18:02:18 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-29 18:02:18 -0800
commit1b62db4e46865949779560e25fe835eeea3dc48b (patch)
treec58010a2bd5b86fbcf5a4dd249df39b8797308ec /Makefile
parent9f599ce440d50fcb14ddde4fbf100d753a73e761 (diff)
downloadtxr-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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f718e40d..5a6e9111 100644
--- a/Makefile
+++ b/Makefile
@@ -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))