mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
Compatibility with C99 standard
This commit makes the code (mostly) C99-compatible, enabling to compile it without the -Wno-error=implicit-function-declaration flag. This way, Magic becomes usable on arm64 architectures, specifically on Apple computers with M1/M2 SoC.
This commit is contained in:
@@ -4,5 +4,4 @@ set -x
|
||||
--with-tcl=$(brew --prefix tcl-tk)\
|
||||
--with-tk=$(brew --prefix tcl-tk)\
|
||||
--with-cairo=$(brew --prefix cairo)/include\
|
||||
"CFLAGS=-Wno-error=implicit-function-declaration"\
|
||||
"LDFLAGS=-L$(brew --prefix cairo)/lib"
|
||||
"LDFLAGS=-L$(brew --prefix cairo)/lib"
|
||||
|
||||
Reference in New Issue
Block a user