mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +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
|
# Tools
|
||||||
CROSS=
|
CROSS=
|
||||||
ifneq ($(CROSS),)
|
CROSS_SUFFIX=
|
||||||
|
ifneq ($(CROSS)$(CROSS_SUFFIX),)
|
||||||
undefine CC
|
undefine CC
|
||||||
undefine CXX
|
undefine CXX
|
||||||
undefine AR
|
undefine AR
|
||||||
|
@ -16,12 +17,12 @@ ifneq ($(CROSS),)
|
||||||
undefine STRIP
|
undefine STRIP
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC=$(CROSS)gcc
|
CC=$(CROSS)gcc$(CROSS_SUFFIX)
|
||||||
CXX=$(CROSS)g++
|
CXX=$(CROSS)g++$(CROSS_SUFFIX)
|
||||||
AR=$(CROSS)ar
|
AR=$(CROSS)ar$(CROSS_SUFFIX)
|
||||||
RC=$(CROSS)windres
|
RC=$(CROSS)windres$(CROSS_SUFFIX)
|
||||||
RANLIB=$(CROSS)ranlib
|
RANLIB=$(CROSS)ranlib$(CROSS_SUFFIX)
|
||||||
STRIP=$(CROSS)strip
|
STRIP=$(CROSS)strip$(CROSS_SUFFIX)
|
||||||
AS=nasm
|
AS=nasm
|
||||||
PKG_CONFIG=pkg-config
|
PKG_CONFIG=pkg-config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue