Skip to content

Commit 65eacdf

Browse files
ParitaParita
Parita
authored and
Parita
committed
minor changes
1 parent 9c8d5b1 commit 65eacdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ HEADER_PATHS=-I$(SPI_PATH) -I$(PINS_PATH) -I$(WIRING_PATH) -I$(ETHERNET_PATH) \
1818
ENABLE_FLAGS=-DARDUINO_WIRING_DIGITAL -DARDUINO_LITE
1919

2020
CFLAGS=$(MCU) $(CPU_SPEED) $(ENABLE_FLAGS) -Os -w -funsigned-char \
21-
-funsigned-bitfields -fpack-struct -fshort-enums
21+
-funsigned-bitfields -fpack-struct -fshort-enums -fno-exceptions
2222

2323
STRING_CFLAGS=$(MCU) $(CPU_SPEED) -DARDUINO_WIRING_DIGITAL -DARDUINO_STRING -Os -w -funsigned-char \
2424
-funsigned-bitfields -fpack-struct -fshort-enums
@@ -50,7 +50,7 @@ clean:
5050

5151
libarduino.a: $(ARDUINO_OBJECTS)
5252
echo ------------- LIBARDUINO
53-
avr-ar rcs $@ $(ARDUINO_OBJECTS)
53+
avr-ar rcs $@ $^
5454
rm $(ARDUINO_OBJECTS)
5555

5656
libspi.a: $(SPI_PATH)/SPI.cpp

0 commit comments

Comments
 (0)