From: Julian Seward Date: Mon, 29 Aug 2005 12:35:57 +0000 (+0000) Subject: Merge r1364 (Observe any externally supplied $(CC).) X-Git-Tag: svn/VALGRIND_3_0_1^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15e6443b0c7f9da06794ae75ca38947b99db62a1;p=thirdparty%2Fvalgrind.git Merge r1364 (Observe any externally supplied $(CC).) git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_0_BRANCH@1365 --- diff --git a/VEX/Makefile b/VEX/Makefile index 61809376cc..5be717519f 100644 --- a/VEX/Makefile +++ b/VEX/Makefile @@ -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