Correct the win64 tuple
This commit is contained in:
parent
774b491d06
commit
968e798e72
6
Makefile
6
Makefile
|
@ -7,7 +7,7 @@ OBJDIR := obj
|
||||||
SRCDIR := src
|
SRCDIR := src
|
||||||
|
|
||||||
UBUNTU ?= x86_64-linux-gnu
|
UBUNTU ?= x86_64-linux-gnu
|
||||||
WIN64 ?= i686-w64-mingw32
|
WIN64 ?= x86_64-w64-mingw32
|
||||||
|
|
||||||
# FIXME: Detect the native platform
|
# FIXME: Detect the native platform
|
||||||
NATIVE ?= $(UBUNTU)
|
NATIVE ?= $(UBUNTU)
|
||||||
|
@ -48,8 +48,8 @@ all: win64
|
||||||
all: ubuntu
|
all: ubuntu
|
||||||
|
|
||||||
# Some special riscv-gnu-toolchain configure flags for specific targets.
|
# Some special riscv-gnu-toolchain configure flags for specific targets.
|
||||||
i686-w64-mingw32-rgt-configure := --without-system-zlib
|
$(WIN64)-rgt-configure := --without-system-zlib
|
||||||
i686-w64-mingw32-rocd-vars := LIBUSB1_LIBS="-L$(abspath $(OBJ_WIN64)/install/riscv-openocd-$(ROCD_VERSION)-$(WIN64))/lib"
|
$(WIN64)-rocd-vars := LIBUSB1_LIBS="-L$(abspath $(OBJ_WIN64)/install/riscv-openocd-$(ROCD_VERSION)-$(WIN64))/lib" CFLAGS="-O2"
|
||||||
|
|
||||||
# There's enough % rules that make starts blowing intermediate files away.
|
# There's enough % rules that make starts blowing intermediate files away.
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
|
Loading…
Reference in New Issue