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
26
26
27
27
patch -p1 < ../avrdude-6.3-patches/90*
28
28
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
+
29
32
autoreconf --force --install
30
33
./bootstrap
31
34
if [[ $OS == " GNU/Linux" ]] ; then
@@ -38,8 +41,6 @@ COMMON_FLAGS=""
38
41
# CFLAGS="$CFLAGS -lhid -lsetupapi"
39
42
# fi
40
43
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 "
43
44
CONFARGS=" --prefix=$PREFIX --enable-linuxgpio"
44
45
if [[ $CROSS_COMPILE != " " ]] ; then
45
46
CONFARGS=" $CONFARGS --host=$CROSS_COMPILE_HOST "
You can’t perform that action at this time.
0 commit comments