summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 23:09:08 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 23:09:08 (EDT)
commitd0b0418dbd67ae4cdfea32812690413429581b87 (patch)
tree20d88ea5da1f1fbe576d0f8eb91dc4593f16476e /build
parentefb50ef9e4809a691b257686c2056e1fdefd0a90 (diff)
build: Add cpp to compiler packages
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index 3b189fc..c751d8b 100755
--- a/build
+++ b/build
@@ -245,12 +245,13 @@ install-native:
oh-fixperms -d "$(destdir)"
oh-strip -d "$(destdir)"
OPK_PACKAGES="\
+ cpp-$(base_version)-$(target) \
gcc-$(base_version)-$(target) \
g++-$(base_version)-$(target) \
" oh-installfiles -d "$(destdir)"
OPK_PACKAGES="\
$$(printf '%s\n' $${OPK_PACKAGES} | \
- grep -Ev "(gcc|g++)-$(base_version)-.*-.*-.*") \
+ grep -Ev "(cpp|gcc|g++)-$(base_version)-.*-.*-.*") \
" oh-installfiles -d "$(destdir)"
oh-shlibdeps
@@ -287,6 +288,7 @@ install-cross:
oh-fixperms -d "$(destdir)"
oh-strip -d "$(destdir)"
OPK_PACKAGES="\
+ cpp-$(base_version)-$(target) \
gcc-$(base_version)-$(target) \
g++-$(base_version)-$(target) \
" oh-installfiles -d "$(destdir)"