diff --git a/.gitignore b/.gitignore index 23754b45..a33d539b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ omnibus/.bundle omnibus/bin omnibus/crystal-darwin-* omnibus/shards-darwin-* +omnibus/vendor docs/build/ diff --git a/omnibus/config/software/pcre2.rb b/omnibus/config/software/pcre2.rb index abb14fe6..505a8b7c 100644 --- a/omnibus/config/software/pcre2.rb +++ b/omnibus/config/software/pcre2.rb @@ -25,7 +25,7 @@ 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" \ @@ -33,9 +33,8 @@ " --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