commit | d20b9ff3ee0f1014a740baed908dc0a08c646fb6 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Nov 02 08:32:21 2015 -0600 |
committer | Rob Landley <rob@landley.net> | Mon Nov 02 08:32:21 2015 -0600 |
tree | c575145fa158e4acc746ae1e17db76753263450e | |
parent | 539f8c8b56729d1b6562ade260bf6c44d1f9637b [diff] |
Don't pass target $CFLAGS to host builds (telling x86 compiler to be big-endian seldom ends well). Instead add -DBUILD_FOR_HOST to $HOSTCC and wrap #ifdefs around problematic (smack) includes from toys.h.