File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ cd avrdude-6.3
2626
2727patch -p1 < ../avrdude-6.3-patches/90*
2828
29+ export CFLAGS=" -I$PREFIX /include -I$PREFIX /ncurses -I$PREFIX /ncursesw -I$PREFIX /readline -I$PREFIX /include/libusb-1.0 $CFLAGS "
30+ export LDFLAGS=" -L$PREFIX /lib $LDFLAGS "
31+
2932autoreconf --force --install
3033./bootstrap
3134if [[ $OS == " GNU/Linux" ]] ; then
@@ -38,8 +41,6 @@ COMMON_FLAGS=""
3841# CFLAGS="$CFLAGS -lhid -lsetupapi"
3942# fi
4043
41- CFLAGS=" -I$PREFIX /include -I$PREFIX /ncurses -I$PREFIX /ncursesw -I$PREFIX /readline -I$PREFIX /include/libusb-1.0 $CFLAGS "
42- LDFLAGS=" -L$PREFIX /lib $LDFLAGS "
4344CONFARGS=" --prefix=$PREFIX --enable-linuxgpio"
4445if [[ $CROSS_COMPILE != " " ]] ; then
4546 CONFARGS=" $CONFARGS --host=$CROSS_COMPILE_HOST "
You can’t perform that action at this time.
0 commit comments