mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 16:32:13 -07:00
Since the lack of this has caused portability issues in the past:
add "-ansi -pedantic" to the main Unix makefile, and clean up a few minor problems pointed out thereby. [originally from svn r8175]
This commit is contained in:
@ -1108,7 +1108,7 @@ if (defined $makefiles{'gtk'}) {
|
||||
"# to 1.2 if it isn't found.\n".
|
||||
"GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 \$\$0 2>/dev/null || gtk-config \$\$0'\n".
|
||||
"\n".
|
||||
&splitline("CFLAGS = -O2 -Wall -Werror -g " .
|
||||
&splitline("CFLAGS = -O2 -Wall -Werror -ansi -pedantic -g " .
|
||||
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
|
||||
" `\$(GTK_CONFIG) --cflags`")."\n".
|
||||
"XLDFLAGS = `\$(GTK_CONFIG) --libs`\n".
|
||||
|
Reference in New Issue
Block a user