From: Roy Marples Date: Wed, 20 Feb 2008 12:15:13 +0000 (+0000) Subject: Add a comment about older linux headers and -std=c99. X-Git-Tag: v3.2.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946bc2424bacc4f2a7c23090e263b31eb54639d5;p=thirdparty%2Fdhcpcd.git Add a comment about older linux headers and -std=c99. --- diff --git a/README b/README index 90bfa7c3..9089ec69 100644 --- a/README +++ b/README @@ -30,6 +30,13 @@ SYSV (SYSV style - /etc/init.d/ntpd restart) You can change the default dir where dhcpcd stores it's .info files with INFODIR=/var/db +We now default to using -std=c99. For 64-bit linux, this always works, but +for 32-bit linux it requires either gnu99 or a patch to asm/types.h. +Most distros patch linux headers so this should work fine. +linux-2.6.24 finally ships with a working 32-bit header. +If your linux headers are older, or your distro hasn't patched them you can +set CSTD=gnu99 to work around this. + ChangeLog ---------