diff options
-rw-r--r-- | gawk.morph | 5 | ||||
-rw-r--r-- | stage2-gawk.morph | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gawk.morph b/gawk.morph new file mode 100644 index 00000000..1ad871c6 --- /dev/null +++ b/gawk.morph @@ -0,0 +1,5 @@ +name: gawk +kind: chunk +build-system: autotools +configure-commands: +- ./configure --prefix="$PREFIX" --disable-nls diff --git a/stage2-gawk.morph b/stage2-gawk.morph new file mode 100644 index 00000000..f644d72b --- /dev/null +++ b/stage2-gawk.morph @@ -0,0 +1,9 @@ +name: stage2-gawk +kind: chunk +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 |