From: Dennis Stosberg Date: Tue, 15 Aug 2006 09:01:31 +0000 (+0200) Subject: Fix compilation with Sun CC X-Git-Tag: v1.4.3-rc1~2^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/60a144f28047b4fa0e4a795972c483fa85a7d3c8?hp=60a144f28047b4fa0e4a795972c483fa85a7d3c8 Fix compilation with Sun CC - Add the CFLAGS variable to config.mak.in to override the Makefile's default, which is gcc-specific and won't work with Sun CC. - Prefer "cc" over "gcc", because Pasky's Git.pm will not compile with gcc on Solaris at all. On Linux and the free BSDs "cc" is linked to "gcc" anyway. - Set correct flag to generate position-independent code. - Add "-xO3" (= use default optimization level) to CFLAGS. Signed-off-by: Dennis Stosberg Signed-off-by: Junio C Hamano ---