swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.47/pcre2-10.47.tar.bz2 sha256: 47fe8c99461250d42f89e6e8fdaeba9da057855d06eb7fc08d9ca03fd08d7bc7 build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: compile: "CFLAGS=\"${CFLAGS:-} -fPIC\" ./configure \\\n\t--build=$CBUILD --host=$CHOST \\\n\t--prefix=/usr \\\n\t--disable-shared --enable-static --with-pic \\\n\t--enable-pcre2-16 --enable-pcre2-32 \\\n\t--disable-jit \\\n\t--enable-pcre2grep-libz \\\n\t--disable-symvers\nmake CFLAGS=\"-O2 -fPIC\" LDFLAGS=\"-all-static -no-pie\" -j\"$(nproc)\"\n" install: make DESTDIR=/out install LDFLAGS="-all-static -no-pie" target_bin: /usr/bin/pcre2 expected_hash: b3:c4930964fbaf4f33365e6eb8d7e6069ae3056b5796fca83d254bee2a88a341bc deps: build: - zlib - make runtime: []