Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
2b9cafbc
Commit
2b9cafbc
authored
Sep 19, 2017
by
gizmo98
Browse files
Makefile: add default CXX, CC and CC_AS values
parent
2ee59ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2b9cafbc
...
...
@@ -13,6 +13,10 @@ STATIC_LINKING:= 0
TARGET_NAME
:=
reicast
CXX
=
${CC_PREFIX}
g++
CC
=
${CC_PREFIX}
gcc
CC_AS
=
${CC_PREFIX}
as
MFLAGS
:=
ASFLAGS
:=
LDFLAGS
:=
...
...
@@ -20,7 +24,6 @@ INCFLAGS :=
LIBS
:=
CFLAGS
:=
CXXFLAGS
:=
CC_AS
?=
$(AS)
UNAME
=
$(
shell
uname
-a
)
...
...
@@ -506,8 +509,8 @@ LIBS += -lm
PREFIX
?=
/usr/local
ifneq
(,$(findstring arm, $(ARCH)))
AS
=
${CC_PREFIX}
gcc
ASFLAGS
+=
$(CFLAGS)
CC_AS
=
${CC_PREFIX}
gcc
#The ngen_arm.S must be compiled with gcc, not as
ASFLAGS
+=
$(CFLAGS)
endif
ifeq
($(PGO_MAKE),1)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment