Add missing definitions if target is microwatt
Picolibc compilation for powerpc was missing some defines. This adds them to gcc parameters
This commit is contained in:
parent
ba1d20f2ad
commit
53135eb7bc
|
@ -13,6 +13,7 @@ else ifeq ($(CPU), mor1kx)
|
||||||
CPUFAMILY = or1k
|
CPUFAMILY = or1k
|
||||||
else ifeq ($(CPU), microwatt)
|
else ifeq ($(CPU), microwatt)
|
||||||
CPUFAMILY = powerpc
|
CPUFAMILY = powerpc
|
||||||
|
CFLAGS += -DLONG_LONG_MIN=LLONG_MIN -DLONG_LONG_MAX=LLONG_MAX -DLONG_LONG_MIN=LLONG_MIN -DULONG_LONG_MAX=ULLONG_MAX
|
||||||
else ifeq ($(CPU), zynq7000)
|
else ifeq ($(CPU), zynq7000)
|
||||||
CPUFAMILY = arm
|
CPUFAMILY = arm
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue