diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-14 14:03:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-14 14:03:00 +0000 |
commit | 4a7644f0eec04ea061b77f35a39d894ded93b8c8 (patch) | |
tree | bf4cc207a2255a4fb57ef6c424d71b2759448cf2 /crawl-ref | |
parent | 44097deb98135de24faf8d0f2adb985d1c5cd07a (diff) | |
download | crawl-ref-4a7644f0eec04ea061b77f35a39d894ded93b8c8.tar.gz crawl-ref-4a7644f0eec04ea061b77f35a39d894ded93b8c8.zip |
Enable user-Lua scripts by default for DOS and Windows builds. We could
probably enable these by default for Mac OS builds as well. They should still
default off for general Unix installs because we want server admins to be aware
of the denial-of-service possibilities of enabling user scripts.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1308 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/makefile.dos | 3 | ||||
-rw-r--r-- | crawl-ref/source/makefile.mgw | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/makefile.dos b/crawl-ref/source/makefile.dos index 83f2dc6b2c..e6a04b722b 100644 --- a/crawl-ref/source/makefile.dos +++ b/crawl-ref/source/makefile.dos @@ -31,7 +31,8 @@ INCLUDES := -Iutil -I. -I$(LUASRC) WORKDIR := $(shell cd) CFWARN := -Wall -Wwrite-strings -Wshadow -Werror -pedantic -CFOTHERS := -D$(OS_TYPE) $(EXTRA_FLAGS) -fsigned-char -fstrict-aliasing +CFOTHERS := -D$(OS_TYPE) $(EXTRA_FLAGS) -fsigned-char -fstrict-aliasing \ + -DCLUA_BINDINGS CFLAGS := $(INCLUDES) $(CFWARN) $(CFOTHERS) YCFLAGS := $(INCLUDES) $(CFOTHERS) diff --git a/crawl-ref/source/makefile.mgw b/crawl-ref/source/makefile.mgw index d4e6e6c829..e8f3270538 100644 --- a/crawl-ref/source/makefile.mgw +++ b/crawl-ref/source/makefile.mgw @@ -43,7 +43,7 @@ CFOTHERS := -fsigned-char \ -fstrict-aliasing \ -pedantic \ -D$(OS_TYPE) $(EXTRA_FLAGS) \ - -DWINMM_PLAY_SOUNDS + -DWINMM_PLAY_SOUNDS -DCLUA_BINDINGS CFLAGS := $(INCLUDES) $(CFWARN) $(CFOTHERS) YCFLAGS := $(INCLUDES) $(CFOTHERS) |