From: Vladimir Serbinenko Date: Thu, 14 Nov 2013 21:37:20 +0000 (+0100) Subject: * acinclude.m4: Don't add -P on initial nm test. X-Git-Tag: grub-2.02-beta1~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5757a93e015e0ebcb5dfdc5b60366605f603728f;p=thirdparty%2Fgrub.git * acinclude.m4: Don't add -P on initial nm test. Note: even though this patch postdates Andrey's it bears 14 Nov as date due to timezone difference. --- diff --git a/ChangeLog b/ChangeLog index 2b70f0d57..a94fd8820 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-11-14 Vladimir Serbinenko + + * acinclude.m4: Don't add -P on initial nm test. + + Note: even though this patch postdates Andrey's it bears 14 Nov as + date due to timezone difference. + 2013-11-15 Andrey Borzenkov * grub-core/Makefile.core.def (signature_test): Add missing diff --git a/acinclude.m4 b/acinclude.m4 index 218976f60..1c1433786 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -142,7 +142,7 @@ AC_CACHE_VAL(grub_cv_prog_nm_works, nm_works_tmp_dir="$(mktemp -d "./confXXXXXX")" AC_LANG_CONFTEST([AC_LANG_PROGRAM([[]], [[]])]) $TARGET_CC $TARGET_CFLAGS -c conftest.c -o "$nm_works_tmp_dir/ef" -if $TARGET_NM -P "$nm_works_tmp_dir/ef" > /dev/null; then +if $TARGET_NM "$nm_works_tmp_dir/ef" > /dev/null; then grub_cv_prog_nm_works=yes else grub_cv_prog_nm_minus_p=no