Set the path to nm before configuring the C gmp lib
authorIan Lynagh <igloo@earth.li>
Mon, 12 Oct 2009 21:40:31 +0000 (21:40 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 12 Oct 2009 21:40:31 +0000 (21:40 +0000)
gmp/ghc.mk

index 8eed590..428b927 100644 (file)
@@ -111,7 +111,7 @@ libraries/integer-gmp/gmp/libgmp.a libraries/integer-gmp/gmp/gmp.h:
            PATH=`pwd`:$$PATH; \
            export PATH; \
            cd gmpbuild && \
-           CC=$(WhatGccIsCalled) $(SHELL) configure \
+           CC=$(WhatGccIsCalled) NM=$(NM) $(SHELL) configure \
                  --enable-shared=no --host=$(PLATFORM) --build=$(PLATFORM)
        $(MAKE) -C libraries/integer-gmp/gmp/gmpbuild MAKEFLAGS=
        $(CP) libraries/integer-gmp/gmp/gmpbuild/gmp.h libraries/integer-gmp/gmp/