aboutsummaryrefslogtreecommitdiff
path: root/mk.config
diff options
context:
space:
mode:
Diffstat (limited to 'mk.config')
-rw-r--r--mk.config11
1 files changed, 3 insertions, 8 deletions
diff --git a/mk.config b/mk.config
index ebd5e1de3ebf..14997a1cf342 100644
--- a/mk.config
+++ b/mk.config
@@ -83,7 +83,7 @@ STRIP=strip
#
# Compiler flags.
#
-#CFLAGS=
+_CFLAGS=$(CFLAGS) $(_CPPFLAGS) $(__CDBG) $(__CLDBG)
#
# C preprocessor flags.
@@ -91,17 +91,12 @@ STRIP=strip
# Use -D_GNU_SOURCE for Linux with GNU libc.
# Use -D_INCLUDE__STDC_A1_SOURCE for HP-UX.
#
-CPPFLAGS=-D_GNU_SOURCE
-
-#
-# Warning flags for the compiler.
-#
-#WARN=
+_CPPFLAGS=$(CPPFLAGS) -D_GNU_SOURCE
#
# Linker flags.
#
-#LDFLAGS=
+_LDFLAGS=$(LDFLAGS) $(__CLDBG)
#
# Additional libraries to link with.