diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-10 17:22:05 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-10 17:22:05 +0200 |
commit | 255698e00c6200be70b6e72eec76c154249ac581 (patch) | |
tree | 2fd0c1befa221e2d74a9189e1645576f36a59ca4 /pcap_io.h | |
parent | b435a7a1b3fa6eec367d9b48a1f9b9cf13d617fa (diff) |
make: allow to overwrite CFLAGS, CCACHE
Allow to define custom compile flags, e.g. ...
make CFLAGS="-O2 -Wall"
... and also allow to overwrite ccache variable:
make CCACHE= all
Also do some minor fixes when built with -O2 -Wall.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'pcap_io.h')
-rw-r--r-- | pcap_io.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -132,9 +132,9 @@ struct pcap_file_ops { void (*fsync_pcap)(int fd); }; -extern const struct pcap_file_ops pcap_rw_ops; -extern const struct pcap_file_ops pcap_sg_ops; -extern const struct pcap_file_ops pcap_mm_ops; +extern const struct pcap_file_ops pcap_rw_ops __maybe_unused; +extern const struct pcap_file_ops pcap_sg_ops __maybe_unused; +extern const struct pcap_file_ops pcap_mm_ops __maybe_unused; static inline uint16_t tp_to_pcap_tsource(uint32_t status) { |