mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
* configure.ac: Move -fnested-functions to CPPFLAGS to workaround
Apple bug.
This commit is contained in:
1 parent
382775d1ac
commit
403e25a539
2 files changed
+8
-3
No files matched your search
+3
-3
@@ -301,8 +301,8 @@ AC_CHECK_SIZEOF(long)
|
||||
|
||||
grub_apple_cc
|
||||
if test x$grub_cv_apple_cc = xyes ; then
|
||||
HOST_CPPFLAGS="$HOST_CPPFLAGS -DAPPLE_CC=1"
|
||||
HOST_CFLAGS="$HOST_CFLAGS -fnested-functions"
|
||||
HOST_CPPFLAGS="$HOST_CPPFLAGS -DAPPLE_CC=1 -fnested-functions"
|
||||
HOST_CFLAGS="$HOST_CFLAGS"
|
||||
fi
|
||||
|
||||
if test x$USE_NLS = xno; then
|
||||
@@ -454,7 +454,7 @@ fi
|
||||
grub_apple_target_cc
|
||||
if test x$grub_cv_apple_target_cc = xyes ; then
|
||||
TARGET_CPPFLAGS="$TARGET_CPPFLAGS -DAPPLE_CC=1"
|
||||
TARGET_CFLAGS="$TARGET_CFLAGS -fnested-functions"
|
||||
TARGET_CPPFLAGS="$TARGET_CPPFLAGS -fnested-functions"
|
||||
|
||||
CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions"
|
||||
TARGET_APPLE_CC=1
|
||||
|
||||
Reference in new issue
Block a user