diff options
author | retro-wertz | 2019-05-16 09:56:54 +0800 |
---|---|---|
committer | retro-wertz | 2019-05-19 11:40:50 +0800 |
commit | b0ec2e6d0719603212373bcdaaedd5b7b5e43121 (patch) | |
tree | d274c1ddfd56a9e05138eacd73da147be3347185 /Makefile | |
parent | 4e0deb4b36b49a45061098fc531556bb6cea3e9e (diff) | |
download | pcsx_rearmed-b0ec2e6d0719603212373bcdaaedd5b7b5e43121.tar.gz pcsx_rearmed-b0ec2e6d0719603212373bcdaaedd5b7b5e43121.tar.bz2 pcsx_rearmed-b0ec2e6d0719603212373bcdaaedd5b7b5e43121.zip |
Allow building without CHD, disable CHD for 3DS
- all platforms compiles with CHD support.
- compile with HAVE_CHD=0 for no chd support.
- CHD fails building for 3DS, not sure its even fast enough for the device. I tried asking in discord channel but haven't got reply. Disabling it till someone familiar with 3ds can fix it.
http://p.0bl.net/123458
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -159,6 +159,7 @@ endif OBJS += plugins/cdrcimg/cdrcimg.o # libchdr +ifeq "$(HAVE_CHD)" "1" CFLAGS += -Ideps/libchdr OBJS += deps/crypto/md5.o OBJS += deps/crypto/sha1.o @@ -208,8 +209,9 @@ else endif CFLAGS += -Ideps/crypto -Ideps/flac-1.3.2/include -Ideps/flac-1.3.2/src/libFLAC/include -Ideps/flac-1.3.2/src/libFLAC/include -Ideps/lzma-16.04/C -CFLAGS += -D'PACKAGE_VERSION="1.3.2"' -DFLAC__HAS_OGG=0 -DFLAC__NO_DLL -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DFLAC__NO_DLL -D_7ZIP_ST +CFLAGS += -DHAVE_CHD -D'PACKAGE_VERSION="1.3.2"' -DFLAC__HAS_OGG=0 -DFLAC__NO_DLL -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DFLAC__NO_DLL -D_7ZIP_ST LDFLAGS += -lm +endif # dfinput OBJS += plugins/dfinput/main.o plugins/dfinput/pad.o plugins/dfinput/guncon.o |