Skip to content

Commit

Permalink
Make travis use -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Aug 14, 2015
1 parent 7dba95b commit 3b94cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
all: lib hackrf subdirs

travis: lib hackrf subdirs
travis:
$(MAKE) ADDFLAGS=-Werror lib hackrf subdirs
$(MAKE) -C smartflash test

subdirs:
Expand Down
1 change: 1 addition & 0 deletions Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CFLAGS += -std=c99 -c -g -Wall -Wno-unused-function
CFLAGS += -fno-common -ffunction-sections -fdata-sections -fno-builtin -ffreestanding
#CFLAGS += -fmessage-length=0
CFLAGS += $(LFLAGS)
CFLAGS += $(ADDFLAGS)

LDSCRIPT?=$(RPATH)/libopencm3/lib/libopencm3_lpc43xx.ld

Expand Down

0 comments on commit 3b94cdd

Please sign in to comment.