Added -std=gnu99 to Makefile. strtof() came with c99, which is why GCC was throwing...
authoruranther <jwheaton@purdue.edu>
Wed, 3 Jun 2009 19:27:33 +0000 (15:27 -0400)
committeruranther <jwheaton@purdue.edu>
Wed, 3 Jun 2009 19:27:33 +0000 (15:27 -0400)
Makefile

index fa20b6c..d002f65 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CPPFLAGS:=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS)
+CPPFLAGS:=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -ggdb -Wall -W -std=gnu99 -DARCH="\"$(shell uname -m)\"" -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS)
 LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) $(LDFLAGS)
 all: uzbl uzblctrl