mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(openjdk)
This commit is contained in:
parent
64305b2c0f
commit
e190b57539
|
@ -40,7 +40,7 @@ runtime:
|
|||
build:
|
||||
dependencies:
|
||||
linux:
|
||||
gnu.org/gcc: '*'
|
||||
llvm.org: <17
|
||||
gnu.org/make: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
|
@ -48,12 +48,17 @@ build:
|
|||
script:
|
||||
- run: wget -c $BOOT_JDK -O - | tar xz -C . --strip-components=$STRIP
|
||||
working-directory: boot-jdk
|
||||
# autoconf won't find llvm-cxxfilt for c++filt, and won't take an envvar
|
||||
- run: |
|
||||
bash configure $ARGS \
|
||||
--with-boot-jdk="$BOOT_JDK_DIR" \
|
||||
--with-vendor-version-string="$(tea --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')" \
|
||||
--with-extra-cflags="$CFLAGS" \
|
||||
--with-extra-cxxflags="$CXXFLAGS" \
|
||||
sed -i.bak -e's/c..filt/llvm-cxxfilt/' toolchain.m4
|
||||
rm toolchain.m4.bak
|
||||
working-directory: make/autoconf
|
||||
if: linux
|
||||
- bash configure $ARGS
|
||||
--with-boot-jdk="$BOOT_JDK_DIR"
|
||||
--with-vendor-version-string="$(tea --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')"
|
||||
--with-extra-cflags="$CFLAGS"
|
||||
--with-extra-cxxflags="$CXXFLAGS"
|
||||
--with-extra-ldflags="$LDFLAGS"
|
||||
- make images
|
||||
- mkdir -p {{prefix}}
|
||||
|
|
Loading…
Reference in a new issue