Skip to content

Commit

Permalink
simlin/Makefile: Fix compilation on 64bit architectures.
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Jan 9, 2021
1 parent 0c41b3e commit b9b86c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/simlin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ CFLAGS += -ggdb -O0 -D_FORTIFY_SOURCE=2 -fstack-protector-all --param=ssp-buffer
else
CFLAGS += -O3
endif

ifeq ($(shell getconf LONG_BIT),64)
CFLAGS += -m32 # XCP doesn't supports 64bit architectures.
endif
#ifeq ($(strip $(TARGET)), kvaser)
#KV_BASE_DIR = f:/kvaser/Canlib
#xcp_sim_SRC+=tl/can/kvaser.c
Expand Down

0 comments on commit b9b86c3

Please sign in to comment.