diff options
author | Max Horn | 2010-07-29 16:24:25 +0000 |
---|---|---|
committer | Max Horn | 2010-07-29 16:24:25 +0000 |
commit | 148c830d769aaf4fd4e08e46284d419ff0c93f18 (patch) | |
tree | 9d0b00fc4bd03d2650132bd390da5acd7a0bc52e | |
parent | 8de57b0b2942cfd039c5bef47699809f2b5ccc60 (diff) | |
download | scummvm-rg350-148c830d769aaf4fd4e08e46284d419ff0c93f18.tar.gz scummvm-rg350-148c830d769aaf4fd4e08e46284d419ff0c93f18.tar.bz2 scummvm-rg350-148c830d769aaf4fd4e08e46284d419ff0c93f18.zip |
DS: Add WRAP_MALLOC support to ds.mk, update comments
svn-id: r51474
-rw-r--r-- | backends/platform/ds/ds.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/backends/platform/ds/ds.mk b/backends/platform/ds/ds.mk index 27309663d1..97f104c391 100644 --- a/backends/platform/ds/ds.mk +++ b/backends/platform/ds/ds.mk @@ -12,6 +12,11 @@ # build I: --enable-made --disable-mad # build K: --enable-cruise --disable-mad # +# However, this could be automated using a simple script, which generates +# subdirs for each build, and runs configure in those subdirs with the right +# parameters (all builds would still share the same set of source code files, +# thanks to our "out of tree" building support). +# # This does not currently take care of some things: # * It does not #define DS_BUILD_A etc. -- most uses of that should be # eliminated, though. Only usage should be for selecting the default config @@ -21,6 +26,9 @@ # too; we need to investigate those. # * It does not currently adjust the logo. Ideally, if we ever get real plugin # support, that should be necessary anymore anyway. +# * No support for USE_DEBUGGER and USE_PROFILER yet. I envision that we would +# integrate them with the --enable-debug and --enable-profiling configure options, +# I simply haven't gotten around to do that yet. # * ... # Set location of ndsdir so that we can easily refer to files in it @@ -59,6 +67,12 @@ LOGO = logoa.bmp # folder. +ifdef WRAP_MALLOC + LDFLAGS += -Wl,--wrap,malloc + DEFINES += -DWRAP_MALLOC +endif + + # Compiler options for files which should be optimised for speed OPT_SPEED := -O3 |