Skip to content

Commit

Permalink
Added -std=c99 to address a compilation problem in travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
vruano authored and lbergelson committed May 4, 2018
1 parent 4c0b50b commit 9b533ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $(error $$(JAVA_HOME) is not defined)
endif

JNI_INCLUDE_DIRS=$(addprefix -I,$(shell find $(JAVA_HOME)/include -type d))
CFLAGS=-ggdb -O2 -Wall -fPIC $(JNI_INCLUDE_DIRS)
CFLAGS=-ggdb -O2 -Wall -std=gnu99 -D_BSD_SOURCE -fPIC $(JNI_INCLUDE_DIRS)
CC=gcc

#OS-dependent extension lookup
Expand Down

0 comments on commit 9b533ad

Please sign in to comment.