History

Cleanup

cancel committed 5 years ago

Commit 3742f2a1 parent 9d2a0ac1 file · +5 −7Browse files

Unified · Split

tool+5−7
@@ -271,7 +271,7 @@ build_target() { · 270 unmodified lines
271 case $config_mode in271 case $config_mode in
272 debug)272 debug)
273 add cc_flags -DDEBUG -ggdb273 add cc_flags -DDEBUG -ggdb
274 # cygwin gcc doesn't seem to have this stuff, just elide for now274 # cygwin gcc doesn't seem to have this stuff, so just elide for now
275 if [ $os != cygwin ]; then275 if [ $os != cygwin ]; then
276 if cc_id_and_vers_gte gcc 6.0.0 || cc_id_and_vers_gte clang 3.9.0; then276 if cc_id_and_vers_gte gcc 6.0.0 || cc_id_and_vers_gte clang 3.9.0; then
277 add cc_flags -fsanitize=address -fsanitize=undefined \277 add cc_flags -fsanitize=address -fsanitize=undefined \
@@ -282,12 +282,10 @@ build_target() { · 4 unmodified lines
282 -fsanitize=unsigned-integer-overflow282 -fsanitize=unsigned-integer-overflow
283 fi283 fi
284 fi284 fi
285 if [ $os = mac ]; then285 case $os in
286 # Our mac clang does not have -Og286 mac) add cc_flags -O1;; # Our Mac clang does not have -Og
287 add cc_flags -O1287 *) add cc_flags -Og;;
288 else288 esac
289 add cc_flags -Og
290 fi
291 case $cc_id in289 case $cc_id in
292 tcc) add cc_flags -g -bt10;;290 tcc) add cc_flags -g -bt10;;
293 esac291 esac

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t