summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xconfigure4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f8d2438b..0669cfbb 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ SRCS+= dhcp-common.c
CFLAGS?= -O2
CSTD?= c99
-CFLAGS+= -std=${CSTD}
include config.mk
+CFLAGS+= -std=${CSTD}
OBJS+= ${SRCS:.c=.o} ${COMPAT_SRCS:.c=.o}
diff --git a/configure b/configure
index 8bcf1da3..523fc03c 100755
--- a/configure
+++ b/configure
@@ -264,8 +264,8 @@ echo "CC= $CC" >>$CONFIG_MK
if [ -n "$CFLAGS" ]; then
echo "CFLAGS= $CFLAGS" >>$CONFIG_MK
fi
-if [ -n "$CPPLAGS" ]; then
- echo "CPPLAGS= $CPPLAGS" >>$CONFIG_MK
+if [ -n "$CPPFLAGS" ]; then
+ echo "CPPFLAGS= $CPPFLAGS" >>$CONFIG_MK
fi
if [ -n "$LDFLAGS" ]; then
echo "LDFLAGS= $LDFLAGS" >>$CONFIG_MK