]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Encourage use of CPPFLAGS over CFLAGS for extra defines.
authorRoy Marples <roy@marples.name>
Fri, 4 Jul 2008 13:30:50 +0000 (13:30 +0000)
committerRoy Marples <roy@marples.name>
Fri, 4 Jul 2008 13:30:50 +0000 (13:30 +0000)
README

diff --git a/README b/README
index 2fc1dc35f62237471c747ef9cc7099aa0bede66e..27aadf0560b8547868f74be8e972f2edc4290f6e 100644 (file)
--- 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.