mirror of
https://github.com/bmartini/zynq-axis.git
synced 2024-09-05 19:19:27 +08:00
Update CC variable in app & lib Makefiles
This change prepends the CROSS_COMPILE environmental variable to the compilers definition. Thus adding the possibility of cross compiling when the cross compiling tool chain has been setup correctly.
This commit is contained in:
parent
a1394df70a
commit
01a04802cf
@ -1,4 +1,4 @@
|
|||||||
CC = gcc
|
CC = ${CROSS_COMPILE}gcc
|
||||||
LDFLAGS := -linterface
|
LDFLAGS := -linterface
|
||||||
CFLAGS := -c -Wall -Werror
|
CFLAGS := -c -Wall -Werror
|
||||||
INCLUDES := -I.
|
INCLUDES := -I.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
CC = gcc
|
CC = ${CROSS_COMPILE}gcc
|
||||||
CFLAGS := -c -fpic -Wall -Werror
|
CFLAGS := -c -fpic -Wall -Werror
|
||||||
INCLUDES := -I.
|
INCLUDES := -I.
|
||||||
LIBOPTS := -shared
|
LIBOPTS := -shared
|
||||||
|
Loading…
x
Reference in New Issue
Block a user