Add NO_BZERO for MXE

This commit is contained in:
Colton G. Rushton 2020-05-16 17:12:56 -03:00 committed by GitHub
parent f4a3757145
commit 3d7bdc300c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,8 @@ TARGET_N64 = 0
# Build and optimize for Raspberry Pi(s)
TARGET_RPI ?= 0
# No BZERO (for building under MXE)
NO_BZERO ?= 0
# Compiler to use (ido or gcc)
COMPILER ?= ido
@ -461,6 +463,12 @@ endif
# Check for enhancement options
# Check for no bzero option
ifeq ($(NO_BZERO),1)
CC_CHECK += -DNO_BZERO
CFLAGS += -DNO_BZERO
endif
# Check for Puppycam option
ifeq ($(BETTERCAMERA),1)
CC_CHECK += -DBETTERCAMERA