From 171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 7 Jun 2007 15:19:00 -0400 Subject: More cross compiling infrastructure. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dec52d8b..9c724aa0 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ # Makefile for toybox. # Copyright 2006 Rob Landley -CFLAGS = -Wall -Wundef -Wno-char-subscripts -Os +CFLAGS := $(CFLAGS) -Wall -Wundef -Wno-char-subscripts -Os CCFLAGS = $(CFLAGS) -funsigned-char CC = $(CROSS_COMPILE)gcc STRIP = $(CROSS_COMPILE)strip HOSTCC = gcc +# A synonym. +CROSS_COMPILE = $(CROSS) + all: toybox .PHONY: clean -- cgit v1.2.3