summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-04 13:30:50 +0000
committerRoy Marples <roy@marples.name>2008-07-04 13:30:50 +0000
commit7012803b9fd0f3de63290a200d6e4e1de163a461 (patch)
tree2a36e2da669740bf6d1d961862786ff9e7e5104e /README
parent09da00df6426394a56cd188d901241a7781ff458 (diff)
downloaddhcpcd-7012803b9fd0f3de63290a200d6e4e1de163a461.tar.xz
Encourage use of CPPFLAGS over CFLAGS for extra defines.
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 2fc1dc35..27aadf05 100644
--- a/README
+++ b/README
@@ -16,11 +16,11 @@ automatic tests.
OS=BSD | Linux
If size is your thing, you can remove all non-essential userland options
-by adding -DMINIMAL to your CFLAGS. This currently shaves off around 6k.
+by adding -DMINIMAL to your CPPFLAGS. This currently shaves off around 6k.
You can save a futher 600 bytes or so by using the small make target.
If you're building for a NOMMU system where fork() does not work, you should
-add -DTHERE_IS_NO_FORK to your CFLAGS.
+add -DTHERE_IS_NO_FORK to your CPPFLAGS.
You can change the default dir with these knobs.
For example, to satisfy FHS compliance you would do this:-
@@ -48,7 +48,7 @@ Compatibility
If you require compatibility with dhcpcd-3 and older style variables,
you can install 50-dhcpcd-compat into the directory $LIBEXECDIR/dhcpcd-hooks
We don't install this by default.
-You should also add -DCMDLINE_COMPAT to your CFLAGS if you need to be fully
+You should also add -DCMDLINE_COMPAT to your CPPFLAGS if you need to be fully
commandline compatible with prior versions.
dhcpcd-3 enabled DUID support by default - this has changed in dhcpcd-4.