summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-15 12:29:47 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-15 12:29:47 (EDT)
commitd36d5da5c7db901756b89978fe253d2fe512b1b5 (patch)
treef0f6e206e493f58024dde50d0215c464904f2111
parent5e8f011fff6c68b9acdd6b9f5ea64afd6e84a0c9 (diff)
cpp-8: Make target-specific (cpp-8-*-*-*)
-rwxr-xr-xconfig2
-rw-r--r--cpp.pkg.in/control (renamed from cpp-8.pkg/control)5
-rw-r--r--cpp.pkg.in/files (renamed from cpp-8.pkg/files)0
3 files changed, 4 insertions, 3 deletions
diff --git a/config b/config
index 2d66848..22b56f0 100755
--- a/config
+++ b/config
@@ -4,7 +4,7 @@ set -e
OPK_SOURCE="$(sed 's/ .*//; q;' changelog)"
BASE_VERSION="${OPK_SOURCE#gcc-}"
-TPL_PKGS='gcc g++'
+TPL_PKGS='cpp gcc g++'
main()
{
diff --git a/cpp-8.pkg/control b/cpp.pkg.in/control
index 933ea48..77f5842 100644
--- a/cpp-8.pkg/control
+++ b/cpp.pkg.in/control
@@ -1,7 +1,8 @@
-Architecture: i686-any-any amd64-any-any
+Architecture: @PKG_TARGET_ARCH@
+# Architecture: i686-any-any amd64-any-any @PKG_TARGET_ARCH@
Platform: all
Depends: gcc-${Base-Version}-common (= ${Binary-Version}), ${Shlib-Depends}
Suggests: gcc-${Base-Version}-locales (>= ${Binary-Version})
-Description: GNU C preprocessor
+Description: GNU C preprocessor for @PKG_TARGET_ARCH@
A macro processor that is used automatically by the C compiler to transform
programs before actual compilation.
diff --git a/cpp-8.pkg/files b/cpp.pkg.in/files
index 29003aa..29003aa 100644
--- a/cpp-8.pkg/files
+++ b/cpp.pkg.in/files