From 7a0264d52780edc94602c74878f7cd358505e28d Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sat, 29 Jul 2023 15:01:08 +0300 Subject: [PATCH] cflags & cxxflags & ldflags --- projects/openjdk.org/package.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/openjdk.org/package.yml b/projects/openjdk.org/package.yml index 5585d87e8e..8f6c2a0b16 100644 --- a/projects/openjdk.org/package.yml +++ b/projects/openjdk.org/package.yml @@ -39,7 +39,13 @@ build: script: - run: wget -c $BOOT_JDK -O - | tar xz -C . --strip-components=$STRIP working-directory: boot-jdk - - bash configure $ARGS --with-boot-jdk="$BOOT_JDK_DIR" --with-vendor-version-string="$(tea --version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')" + - 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" \ + --with-extra-ldflags="$LDFLAGS" - make images - mkdir -p {{prefix}} - mv build/*/images/jdk-bundle/jdk-20.0.2.jdk/Contents/Home/* {{prefix}}/