mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Makefile: Add CROSS_SUFFIX option, as requested by rhoenie.
git-svn-id: https://svn.eduke32.com/eduke32@6087 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9d8b5d1ce0
commit
029facac6f
1 changed files with 8 additions and 7 deletions
15
Common.mak
15
Common.mak
|
@ -7,7 +7,8 @@ PRETTY_OUTPUT ?= 1
|
|||
|
||||
# Tools
|
||||
CROSS=
|
||||
ifneq ($(CROSS),)
|
||||
CROSS_SUFFIX=
|
||||
ifneq ($(CROSS)$(CROSS_SUFFIX),)
|
||||
undefine CC
|
||||
undefine CXX
|
||||
undefine AR
|
||||
|
@ -16,12 +17,12 @@ ifneq ($(CROSS),)
|
|||
undefine STRIP
|
||||
endif
|
||||
|
||||
CC=$(CROSS)gcc
|
||||
CXX=$(CROSS)g++
|
||||
AR=$(CROSS)ar
|
||||
RC=$(CROSS)windres
|
||||
RANLIB=$(CROSS)ranlib
|
||||
STRIP=$(CROSS)strip
|
||||
CC=$(CROSS)gcc$(CROSS_SUFFIX)
|
||||
CXX=$(CROSS)g++$(CROSS_SUFFIX)
|
||||
AR=$(CROSS)ar$(CROSS_SUFFIX)
|
||||
RC=$(CROSS)windres$(CROSS_SUFFIX)
|
||||
RANLIB=$(CROSS)ranlib$(CROSS_SUFFIX)
|
||||
STRIP=$(CROSS)strip$(CROSS_SUFFIX)
|
||||
AS=nasm
|
||||
PKG_CONFIG=pkg-config
|
||||
|
||||
|
|
Loading…
Reference in a new issue