mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
use g++ to link on riscos
This commit is contained in:
parent
a1876073ad
commit
8698245ad2
4
Makefile
4
Makefile
@ -153,6 +153,7 @@ ifeq ($(TARGET),riscos)
|
|||||||
SQUEEZE := squeeze
|
SQUEEZE := squeeze
|
||||||
RUNEXT :=
|
RUNEXT :=
|
||||||
CC := gcc
|
CC := gcc
|
||||||
|
CXX := g++
|
||||||
EXEEXT :=
|
EXEEXT :=
|
||||||
PKG_CONFIG :=
|
PKG_CONFIG :=
|
||||||
else
|
else
|
||||||
@ -188,6 +189,7 @@ ifeq ($(TARGET),riscos)
|
|||||||
SUBTARGET := -aof
|
SUBTARGET := -aof
|
||||||
EXEEXT := ,ff8
|
EXEEXT := ,ff8
|
||||||
endif
|
endif
|
||||||
|
CXX := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*g++)
|
||||||
PKG_CONFIG := $(GCCSDK_INSTALL_ENV)/ro-pkg-config
|
PKG_CONFIG := $(GCCSDK_INSTALL_ENV)/ro-pkg-config
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
@ -432,7 +434,7 @@ $(EXETARGET): $(OBJECTS) $(RESOURCES)
|
|||||||
ifneq ($(TARGET)$(SUBTARGET),riscos-elf)
|
ifneq ($(TARGET)$(SUBTARGET),riscos-elf)
|
||||||
$(Q)$(CC) -o $(EXETARGET) $(OBJECTS) $(LDFLAGS)
|
$(Q)$(CC) -o $(EXETARGET) $(OBJECTS) $(LDFLAGS)
|
||||||
else
|
else
|
||||||
$(Q)$(CC) -o $(EXETARGET:,ff8=,e1f) $(OBJECTS) $(LDFLAGS)
|
$(Q)$(CXX) -o $(EXETARGET:,ff8=,e1f) $(OBJECTS) $(LDFLAGS)
|
||||||
$(Q)$(ELF2AIF) $(EXETARGET:,ff8=,e1f) $(EXETARGET)
|
$(Q)$(ELF2AIF) $(EXETARGET:,ff8=,e1f) $(EXETARGET)
|
||||||
$(Q)$(RM) $(EXETARGET:,ff8=,e1f)
|
$(Q)$(RM) $(EXETARGET:,ff8=,e1f)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user