Files
macports-ports/lang/hugs98/files/patch-no-cpp-precomp.diff

26 lines
775 B
Diff

# https://gcc.gnu.org/legacy-ml/gcc/2005-12/msg00367.html
--- configure.ac.orig 2006-05-03 19:55:36.000000000 +0545
+++ configure.ac 2022-08-08 19:11:57.000000000 +0545
@@ -230,7 +230,7 @@
dnl
case $HostPlatform in
*-*-darwin*)
- CFLAGS="$CFLAGS -no-cpp-precomp"
+ CFLAGS="$CFLAGS"
LDFLAGS="$LDFLAGS -flat_namespace"
;;
# As suggested by James B. White III (Trey) <whitejbiii@ornl.gov> (for
--- configure.orig 2022-08-07 23:58:00.000000000 +0700
+++ configure 2022-09-21 20:22:15.000000000 +0700
@@ -4168,7 +4168,7 @@
case $HostPlatform in
*-*-darwin*)
- CFLAGS="$CFLAGS -no-cpp-precomp"
+ CFLAGS="$CFLAGS"
LDFLAGS="$LDFLAGS -flat_namespace"
;;
# As suggested by James B. White III (Trey) <whitejbiii@ornl.gov> (for