Makefile: add missing defines for CLOCK_TAI, SO_TXTIME and SCM_TXTIME
The commitpull/406/headc6f2cf7c2f("cangen: add support for SO_TXTIME") relies on several toolchain features ("CLOCK_TAI", "SO_TXTIME", "SCM_TXTIME") which are not present in old toolchain. Add defines to fix compilation on older toolchains. Reported-by: https://github.com/b-thomson Link: https://github.com/linux-can/can-utils/issues/398 Fixes:c6f2cf7c2f("cangen: add support for SO_TXTIME") Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
parent
fe3717948b
commit
3b2248b48e
3
Makefile
3
Makefile
|
|
@ -52,6 +52,9 @@ CPPFLAGS += \
|
||||||
-DPF_CAN=29 \
|
-DPF_CAN=29 \
|
||||||
-DSO_RXQ_OVFL=40 \
|
-DSO_RXQ_OVFL=40 \
|
||||||
-DSCM_TIMESTAMPING_OPT_STATS=54 \
|
-DSCM_TIMESTAMPING_OPT_STATS=54 \
|
||||||
|
-DCLOCK_TAI=11 \
|
||||||
|
-DSO_TXTIME=61 \
|
||||||
|
-DSCM_TXTIME=SO_TXTIME \
|
||||||
-D_FILE_OFFSET_BITS=64 \
|
-D_FILE_OFFSET_BITS=64 \
|
||||||
-D_GNU_SOURCE
|
-D_GNU_SOURCE
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue