home · contact · privacy
Server: Remove log_help(), this should be serverd by the client.
[plomrogue] / build / compiler_flags
1 # This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
2 # or any later version. For details on its copyright, license, and warranties,
3 # see the file NOTICE in the root directory of the PlomRogue source package.
4
5 OFLAG='-O3'
6 CFLAGS="-std=c11 -pedantic-errors -Wall -Werror -Wextra -Wformat-security $OFLAG"
7
8 # For non-GNU gcc masks, drop all gcc-specific debugging flags.
9 test=`stat --version 2>&1 | grep 'Free Software Foundation' | wc -l`
10 if [ 1 -gt $test ]
11 then
12     CFLAGS=$OFLAG
13 fi