aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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 <rob@landley.net>
-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