Skip to content

Commit 92fe4fd

Browse files
committed
Uniform build flags with atmel script
1 parent bccf2d0 commit 92fe4fd

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

binutils.build.bash

+4-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ CONFARGS=" \
6262
--disable-werror \
6363
--enable-install-libiberty \
6464
--enable-install-libbfd \
65-
--enable-lto \
66-
--enable-plugins\
67-
--with-pic \
65+
--disable-libdecnumber \
66+
--disable-gdb \
67+
--disable-readline \
68+
--disable-sim \
6869
--target=avr"
6970

7071
CFLAGS="-w -O2 -g0 $CFLAGS" CXXFLAGS="-w -O2 -g0 $CXXFLAGS" LDFLAGS="-s $LDFLAGS" ../binutils/configure $CONFARGS $EXTRA_CONFARGS

gcc.build.bash

-3
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,10 @@ CONFARGS=" \
9292
--enable-fixed-point \
9393
--enable-languages=c,c++ \
9494
--prefix=$PREFIX \
95-
--enable-long-long \
9695
--disable-nls \
97-
--disable-checking \
9896
--disable-libssp \
9997
--disable-libada \
10098
--disable-shared \
101-
--enable-lto \
10299
--with-avrlibc=yes \
103100
--with-dwarf2 \
104101
--disable-doc \

package-avr-gcc.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ rm -rf toolsdir objdir *-build
7777
./binutils.build.bash
7878
./gcc.build.bash
7979
./avr-libc.build.bash
80-
./gdb.build.bash
80+
#./gdb.build.bash
8181

8282
rm -rf objdir/{info,man,share}
8383

0 commit comments

Comments
 (0)