File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ project(mapcode_cpp)
2828# NO_SUPPORT_ALPHABETS - Drop alphabet support.
2929# LIMIT_TO_MICRODEGREES - Limit mapcode utility using microdegrees.
3030
31- set (CMAKE_C_FLAGS_DEBUG "-O0 -DNO_FAST_ENCODE -DNO_ALPHABET_SUPPORT - g -DDEBUG -Wall -fsanitize=address -fno-common -fno-optimize-sibling-calls -fno-omit-frame-pointer" )
31+ set (CMAKE_C_FLAGS_DEBUG "-O0 -g -DDEBUG -Wall -fsanitize=address -fno-common -fno-optimize-sibling-calls -fno-omit-frame-pointer" )
3232set (CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -DDEBUG" )
3333set (CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG" )
3434
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ This directory contains a Mapcode encoding/decoding utility.
44To build the original Mapcode tool, execute:
55
66 cd ../mapcodelib
7- gcc -c mapcoder.c
7+ gcc -O - c mapcoder.c
88 cd ../utility
9- gcc -O mapcode.cpp -lm -lpthread - o mapcode ../mapcodelib/mapcoder.o
9+ gcc -O mapcode.cpp -lm -o mapcode ../mapcodelib/mapcoder.o
1010
1111For help, simply execute:
1212
You can’t perform that action at this time.
0 commit comments