Skip to content

Commit 05f2d89

Browse files
committed
fix: freetype c_standard gnu11 for macOS POSIX; libpng disable ARM NEON on Apple Silicon
1 parent 7eb17f8 commit 05f2d89

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkgs/c/compat.freetype.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ package = {
4040
mcpp = {
4141
language = "c++23",
4242
import_std = false,
43-
c_standard = "c99",
43+
c_standard = "gnu11",
4444
include_dirs = { "*/include" },
4545
sources = {
4646
-- Base (aggregate + required extra files)

pkgs/c/compat.libpng.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,6 @@ package = {
280280
},
281281
targets = { ["libpng"] = { kind = "lib" } },
282282
deps = { ["compat.zlib"] = "1.3.2" },
283-
cflags = { "-DPNG_HARDWARE_OPTIMIZATIONS=0" },
283+
cflags = { "-DPNG_HARDWARE_OPTIMIZATIONS=0", "-DPNG_ARM_NEON_OPT=0" },
284284
},
285285
}

0 commit comments

Comments
 (0)