From: Julian Seward Date: Mon, 29 Aug 2005 12:07:41 +0000 (+0000) Subject: Observe any externally supplied $(CC). X-Git-Tag: svn/VALGRIND_3_1_1^2~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa50d5a7de1752931626bb2189864e39477d2a2a;p=thirdparty%2Fvalgrind.git Observe any externally supplied $(CC). git-svn-id: svn://svn.valgrind.org/vex/trunk@1364 --- 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