Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ omnibus/.bundle
omnibus/bin
omnibus/crystal-darwin-*
omnibus/shards-darwin-*
omnibus/vendor

docs/build/

Expand Down
7 changes: 3 additions & 4 deletions omnibus/config/software/pcre2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@

build do
env = with_standard_compiler_flags(with_embedded_path)
env["CFLAGS"] << " -fPIC -arch arm64 -arch x86_64"
env["CFLAGS"] << " -DMAC_OS_X_VERSION_MIN_REQUIRED=110000 -fPIC -arch arm64 -arch x86_64"
env["CPPFLAGS"] = env["CPPFLAGS"].gsub("-arch arm64 -arch x86_64", "")

command "./configure" \
" --prefix=#{install_dir}/embedded" \
" --disable-cpp" \
" --disable-shared" \
" --enable-unicode-properties" \
" --enable-utf", env: env
# TODO: Enable JIT (Error: "Must target Big Sur or newer")
# " --enable-jit" \
" --enable-utf" \
" --enable-jit", env: env

make "-j #{workers}", env: env
make "install", env: env
Expand Down