Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IOWRT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IOPSYS
IOWRT
Commits
3d6093c2
Commit
3d6093c2
authored
12 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
build: add a HOSTCXX variable pointing at the c++ compiler
SVN-Revision: 36109
parent
12b686ed
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rules.mk
+3
-0
3 additions, 0 deletions
rules.mk
with
3 additions
and
0 deletions
rules.mk
+
3
−
0
View file @
3d6093c2
...
@@ -175,6 +175,7 @@ PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
...
@@ -175,6 +175,7 @@ PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
export
PKG_CONFIG
export
PKG_CONFIG
HOSTCC
:=
gcc
HOSTCC
:=
gcc
HOSTCXX
:=
g++
HOST_CPPFLAGS
:=
-I
$(
STAGING_DIR_HOST
)
/include
HOST_CPPFLAGS
:=
-I
$(
STAGING_DIR_HOST
)
/include
HOST_CFLAGS
:=
-O2
$(
HOST_CPPFLAGS
)
HOST_CFLAGS
:=
-O2
$(
HOST_CPPFLAGS
)
HOST_LDFLAGS
:=
-L
$(
STAGING_DIR_HOST
)
/lib
HOST_LDFLAGS
:=
-L
$(
STAGING_DIR_HOST
)
/lib
...
@@ -196,6 +197,7 @@ INSTALL_CONF:=install -m0600
...
@@ -196,6 +197,7 @@ INSTALL_CONF:=install -m0600
TARGET_CC_NOCACHE
:=
$(
TARGET_CC
)
TARGET_CC_NOCACHE
:=
$(
TARGET_CC
)
TARGET_CXX_NOCACHE
:=
$(
TARGET_CXX
)
TARGET_CXX_NOCACHE
:=
$(
TARGET_CXX
)
HOSTCC_NOCACHE
:=
$(
HOSTCC
)
HOSTCC_NOCACHE
:=
$(
HOSTCC
)
HOSTCXX_NOCACHE
:=
$(
HOSTCXX
)
export
TARGET_CC_NOCACHE
export
TARGET_CC_NOCACHE
export
TARGET_CXX_NOCACHE
export
TARGET_CXX_NOCACHE
export
HOSTCC_NOCACHE
export
HOSTCC_NOCACHE
...
@@ -204,6 +206,7 @@ ifneq ($(CONFIG_CCACHE),)
...
@@ -204,6 +206,7 @@ ifneq ($(CONFIG_CCACHE),)
TARGET_CC
:=
ccache_cc
TARGET_CC
:=
ccache_cc
TARGET_CXX
:=
ccache_cxx
TARGET_CXX
:=
ccache_cxx
HOSTCC
:=
ccache
$(
HOSTCC
)
HOSTCC
:=
ccache
$(
HOSTCC
)
HOSTCXX
:=
ccache
$(
HOSTCXX
)
endif
endif
TARGET_CONFIGURE_OPTS
=
\
TARGET_CONFIGURE_OPTS
=
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment