mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Allow overriding make variables via environment variables.
Fixes cross compiling for Rockbox Utility. Change-Id: I3419cb4c89836ec3bee10072495042b3732fd66b
This commit is contained in:
parent
d566fd5209
commit
460e959aa9
1 changed files with 2 additions and 2 deletions
|
|
@ -27,8 +27,8 @@ APPVERSION ?= $(shell $(TOP)/../tools/version.sh $(TOP)/..)
|
|||
CFLAGS += -DVERSION=\""$(APPVERSION)"\"
|
||||
TARGET_DIR ?= $(abspath .)/
|
||||
|
||||
NATIVECC = gcc
|
||||
CC = gcc
|
||||
NATIVECC ?= gcc
|
||||
CC ?= gcc
|
||||
CPPDEFINES=$(shell echo foo | $(CROSS)$(CC) -dM -E -)
|
||||
# use POSIX/C99 printf on windows
|
||||
CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue