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.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/chunks/stage2-gawk.morph b/chunks/stage2-gawk.morph
new file mode 100644
index 00000000..6ba77364
--- /dev/null
+++ b/chunks/stage2-gawk.morph
@@ -0,0 +1,13 @@
+name: stage2-gawk
+kind: chunk
+build-system: autotools
+configure-commands:
+- |
+ export STAGE2_SYSROOT="$(dirname $(pwd))"
+ export CPPFLAGS="--sysroot=$STAGE2_SYSROOT"
+ export CXX=false
+ export LDFLAGS="-Wl,--sysroot=$STAGE2_SYSROOT"
+ ./configure --prefix="$PREFIX" --disable-nls \
+ --build=$(sh config.guess) --host=$TARGET_STAGE1
+build-commands:
+- STAGE2_SYSROOT="$(dirname $(pwd))" make