From 15e6443b0c7f9da06794ae75ca38947b99db62a1 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 29 Aug 2005 12:35:57 +0000 Subject: [PATCH] Merge r1364 (Observe any externally supplied $(CC).) git-svn-id: svn://svn.valgrind.org/vex/branches/VEX_3_0_BRANCH@1365 --- VEX/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.47.3