]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Merge r1364 (Observe any externally supplied $(CC).)
authorJulian Seward <jseward@acm.org>
Mon, 29 Aug 2005 12:35:57 +0000 (12:35 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 29 Aug 2005 12:35:57 +0000 (12:35 +0000)
git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_0_BRANCH@1365

VEX/Makefile

index 61809376cc66934734c18d5775f24f035165a40c..5be717519f3448b30e7c6a266c63ea8ffe71362a 100644 (file)
@@ -63,7 +63,9 @@ PUB_INCLUDES = -Ipub
 PRIV_INCLUDES = -Ipriv
 
 
-CC = gcc
+ifeq ($(CC),) 
+   CC = gcc 
+endif 
 CCFLAGS = -g -O -Wall -Wmissing-prototypes -Wshadow -Winline \
                -Wpointer-arith -Wbad-function-cast -Wcast-qual \
                -Wcast-align -Wmissing-declarations \
@@ -120,7 +122,7 @@ minidist: version
        @echo
 
 pub/libvex_guest_offsets.h:
-       gcc -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c
+       $(CC) -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c
        ./auxprogs/genoffsets > pub/libvex_guest_offsets.h