* acinclude.m4: Don't add -P on initial nm test.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 14 Nov 2013 21:37:20 +0000 (22:37 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 14 Nov 2013 21:37:20 +0000 (22:37 +0100)
Note: even though this patch postdates Andrey's it bears 14 Nov as
date due to timezone difference.

ChangeLog
acinclude.m4

index 2b70f0d..a94fd88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-14  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * 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 <arvidjaar@gmail.com>
 
        * grub-core/Makefile.core.def (signature_test): Add missing
index 218976f..1c14337 100644 (file)
@@ -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