You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
afio: fix build with Xcode gcc
This commit is contained in:
committed by
Renee Otten
parent
cddcd21a9c
commit
43e74cee05
@@ -27,6 +27,9 @@ github.tarball_from archive
|
||||
patchfiles Makefile.patch \
|
||||
implicit.patch
|
||||
|
||||
# cc1: error: unrecognized command line option "-Wno-unused-result"
|
||||
patchfiles-append patch-cflags.diff
|
||||
|
||||
makefile.override-append \
|
||||
PREFIX
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- Makefile 2018-11-30 22:25:04.000000000 +0800
|
||||
+++ Makefile 2024-07-17 22:18:35.000000000 +0800
|
||||
@@ -74,7 +74,7 @@
|
||||
#code can be reviewed manually
|
||||
#MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -Wno-unused-result $(LARGEFILEFLAGS) $(MW)
|
||||
+CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer $(LARGEFILEFLAGS) $(MW)
|
||||
|
||||
CC=gcc
|
||||
|
||||
Reference in New Issue
Block a user