Use PRIuPTR and define it for Windows GCC 64-bit
This commit is contained in:
parent
7d21bb1408
commit
b55b43f543
8 changed files with 295 additions and 270 deletions
|
@ -4,11 +4,14 @@ cxx="clang++${postfix}"
|
|||
|
||||
# Flag additions
|
||||
TYPES+=("debug" "profile")
|
||||
cflags+=("-fcolor-diagnostics")
|
||||
cflags_release=("${cflags[@]}" "-Os")
|
||||
cflags_debug=("${cflags[@]}" "-g" "-Og" "-fno-omit-frame-pointer")
|
||||
cflags_profile=("${cflags_debug[@]}" "-fprofile-instr-generate" "-fcoverage-mapping")
|
||||
|
||||
# Colorize output only for interactive shells
|
||||
if [[ $- == *i* ]]; then
|
||||
cflags+=("-fcolor-diagnostics")
|
||||
fi
|
||||
|
||||
# Modifier additions
|
||||
MODIFIERS=("fdo")
|
||||
|
|
|
@ -7,7 +7,7 @@ ranlib="gcc-ranlib${postfix}"
|
|||
|
||||
# Flag additions
|
||||
TYPES+=("debug" "profile")
|
||||
cflags+=("-fstack-protector" "-fdiagnostics-color=always")
|
||||
cflags+=("-fstack-protector" "-fdiagnostics-color=auto")
|
||||
cflags_release=("${cflags[@]}" "-Ofast" "-ffunction-sections" "-fdata-sections")
|
||||
cflags_debug=("${cflags[@]}" "-g" "-Og" "-fno-omit-frame-pointer")
|
||||
cflags_profile=("${cflags_debug[@]}" "-pg")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue