diff options
| author | William D. Jones <[email protected]> | 2019-01-09 11:38:28 -0500 |
|---|---|---|
| committer | William D. Jones <[email protected]> | 2019-01-09 11:38:43 -0500 |
| commit | e4d6f336f0d5004fd9ee3074305b7980ba777dfd (patch) | |
| tree | 69b66d2deb76ffcbef0248727b08a320094d3c3a | |
| parent | b4103eef06c2851edc0c5661d06115171e479d91 (diff) | |
cdc_msc_hid: Work around LTO bug in gcc where order of compile matters
(bug #1747966).
| -rw-r--r-- | examples/device/cdc_msc_hid/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/device/cdc_msc_hid/Makefile b/examples/device/cdc_msc_hid/Makefile index 742cf8350..0c1afc53e 100644 --- a/examples/device/cdc_msc_hid/Makefile +++ b/examples/device/cdc_msc_hid/Makefile @@ -86,8 +86,9 @@ LIB_SOURCE += \ SRC_C += $(LIB_SOURCE) -OBJ = $(addprefix $(BUILD)/obj/, $(SRC_C:.c=.o)) -OBJ += $(addprefix $(BUILD)/obj/, $(SRC_S:.s=.o)) +OBJ = $(addprefix $(BUILD)/obj/, $(SRC_S:.s=.o)) +OBJ += $(addprefix $(BUILD)/obj/, $(SRC_C:.c=.o)) + all: $(BUILD)/$(BOARD)-firmware.bin |
