aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-26 07:14:01 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-26 07:14:01 +0000
commit5b6195c9bcf5536ec7c921f867573f51e6e4423f (patch)
tree6753fd2c3aad78ec3f49220e74ac7fbb3e06a8fe /Makefile
parentbc5262d3dd98881ae6dd7c9cf11d638a01977971 (diff)
downloadbusybox-5b6195c9bcf5536ec7c921f867573f51e6e4423f.tar.gz
respect CFLAGS/CPPFLAGS in env
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aa33ef1af..0e0fef95b 100644
--- a/Makefile
+++ b/Makefile
@@ -299,9 +299,9 @@ AFLAGS_KERNEL =
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
-CFLAGS :=
-CPPFLAGS :=
-AFLAGS :=
+CFLAGS := $(CFLAGS)
+CPPFLAGS := $(CPPFLAGS)
+AFLAGS := $(AFLAGS)
# Read KERNELRELEASE from .kernelrelease (if it exists)
KERNELRELEASE = $(shell cat .kernelrelease 2> /dev/null)