summaryrefslogtreecommitdiff
path: root/chunks/stage2-gawk.morph
diff options
context:
space:
mode:
Diffstat (limited to 'chunks/stage2-gawk.morph')
-rw-r--r--chunks/stage2-gawk.morph11
1 files changed, 11 insertions, 0 deletions
diff --git a/chunks/stage2-gawk.morph b/chunks/stage2-gawk.morph
new file mode 100644
index 00000000..8674a41c
--- /dev/null
+++ b/chunks/stage2-gawk.morph
@@ -0,0 +1,11 @@
+name: stage2-gawk
+kind: chunk
+repo: upstream:gawk
+ref: 6a0eb04c3d2ac24d80d505b42a8f67799487d133
+build-system: autotools
+configure-commands:
+- STAGE2_SYSROOT="$(dirname $(pwd))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false
+ LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT" ./configure --prefix="$PREFIX" --disable-nls
+ --build=$(sh config.guess) --host=$TARGET_STAGE1
+build-commands:
+- STAGE2_SYSROOT="$(dirname $(pwd))" make