New version of g++ on Raspbian needs different linker option order

This commit is contained in:
Daniel Pieczko
2024-01-12 12:19:42 +00:00
parent ace59f63a4
commit 8ef63fcdf5

View File

@@ -6,4 +6,4 @@
xmosdfu: xmosdfu.cpp
mkdir -p bin
g++ -D_GNU_SOURCE -Wall -g -o bin/xmosdfu -Ilibusb/Rasp -lusb-1.0 -x c xmosdfu.cpp -std=c99
g++ -D_GNU_SOURCE -Wall -g -o bin/xmosdfu -Ilibusb/Rasp -x c xmosdfu.cpp -std=c99 -lusb-1.0