Facilitate the creation of cross-compilation config.cross-gcc.mk

In order to create such a variant, you only need to override CC and CXX.
This commit is contained in:
Christophe de Dinechin 2017-06-19 10:19:48 +02:00
parent 54fd4848ae
commit 11093b9e66
1 changed files with 4 additions and 4 deletions

View File

@ -23,11 +23,11 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
CC= gcc CC= gcc
CC99= gcc -std=gnu99 CC99= $(CC) -std=gnu99
CXX= g++ CXX= g++
CXX11= g++ -std=gnu++11 CXX11= $(CXX) -std=gnu++11
LD= g++ LD= $(CC)
CPP= gcc -E CPP= $(CC) -E
PYTHON= python PYTHON= python
AR= ar -rcs AR= ar -rcs
RANLIB= ranlib RANLIB= ranlib