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
271271 case $config_mode in
272272 debug)
273273 add cc_flags -DDEBUG -ggdb
274− # cygwin gcc doesn't seem to have this stuff, just elide for now
274+ # cygwin gcc doesn't seem to have this stuff, so just elide for now
275275 if [ $os != cygwin ]; then
276276 if cc_id_and_vers_gte gcc 6.0.0 || cc_id_and_vers_gte clang 3.9.0; then
277277 add cc_flags -fsanitize=address -fsanitize=undefined \
@@ -282,12 +282,10 @@ build_target() { · 4 unmodified lines
282282 -fsanitize=unsigned-integer-overflow
283283 fi
284284 fi
285− if [ $os = mac ]; then
286− # Our mac clang does not have -Og
287− add cc_flags -O1
288− else
289− add cc_flags -Og
290− fi
285+ case $os in
286+ mac) add cc_flags -O1;; # Our Mac clang does not have -Og
287+ *) add cc_flags -Og;;
288+ esac
291289 case $cc_id in
292290 tcc) add cc_flags -g -bt10;;
293291 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