mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 23:12:09 +02:00
Makefile: add missing defines for CLOCK_TAI, SO_TXTIME and SCM_TXTIME
The commitc6f2cf7c2f("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>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user