On 2013-May-06, 09:55, Beeblebrox wrote: > Breaks with below Error Message. If ccache is enabled, breaks sooner. > > WITH CCACHE: > ===> Building for json-c-0.9 > gmake all-am > gmake[1]: Entering directory > `/wrkdirs/usr/ports/devel/json-c/work/json-c-0.9' > /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -Wall > -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe > -march=k8 -fno-strict-aliasing -MT arraylist.lo -MD -MP -MF > .deps/arraylist.Tpo -c -o arraylist.lo arraylist.c > libtool: compile: cc -DHAVE_CONFIG_H -I. -Wall -Wwrite-strings -Werror > -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=k8 > -fno-strict-aliasing -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c > arraylist.c -fPIC -DPIC -o .libs/arraylist.o > cc: error: argument unused during compilation: '-I .' > gmake[1]: *** [arraylist.lo] Error 1 > gmake[1]: Leaving directory
Try to add -Qunused-arguments to your CFLAGS. Also, see /usr/local/share/doc/ccache/ccache-howto-freebsd.txt -- Pietro Cerutti The FreeBSD Project g...@freebsd.org PGP Public Key: http://gahr.ch/pgp
pgp5rVJguHivM.pgp
Description: PGP signature