media-gfx/jhead-2.90 does not respect CC and CFLGAGS: cc -O3 -Wall -c makernote.c -o makernote.o cc -Wl,--as-needed,--hash-style=gnu -o jhead ./jhead.o ./jpgfile.o ./paths.o ./exif.o ./iptc.o ./gpsinfo.o ./makernote.o -lm
Fixed in CVS.