aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/doc.go')
-rw-r--r--internal/rosa/doc.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/internal/rosa/doc.go b/internal/rosa/doc.go
index 9c61a751..313d4f17 100644
--- a/internal/rosa/doc.go
+++ b/internal/rosa/doc.go
@@ -163,16 +163,15 @@ declared at the top level:
// whether to replace /usr/bin/ with a symlink to /bin/
populateUsrBin = false;
+ // whether to set common cross-compilation environment variables
+ ccommon = true;
+
// build system helper, see section "Build system helpers"
exec = generic {
chdir = false;
cross = `
export HAKUREI_ARCH='`+arch+`'
export HAKUREI_SYSROOT='`+prefix+`/`+arch+`'
-
- export PKG_CONFIG_SYSROOT_DIR='`+prefix+`/`+arch+`'
- export PKG_CONFIG_LIBDIR='`+prefix+`/`+arch+prefix+`/lib/pkgconfig:`+
- prefix+`/`+arch+``+prefix+`/share/pkgconfig'
`;
build = `
NAME=make`;
@@ -399,10 +398,6 @@ scripts too specific to fit into any other [Helper] implementation.
cross = `
export HAKUREI_ARCH='`+arch+`'
export HAKUREI_SYSROOT='`+prefix+`/`+arch+`'
-
- export PKG_CONFIG_SYSROOT_DIR='`+prefix+`/`+arch+`'
- export PKG_CONFIG_LIBDIR='`+prefix+`/`+arch+prefix+`/lib/pkgconfig:`+
- prefix+`/`+arch+``+prefix+`/share/pkgconfig'
`;
// runs first, or after cross if cross-compiling